skip to main
|
skip to sidebar
Intro To Python Programming
Monday, January 5, 2009
Enter A Number
import sys
import math
def add(num1, num2):
sum=num1+num2
return sum
num1=input("Enter a number here: ")
num2=input("Enter a number here: ")
sum=add(num1,num2)
print "The sum of %d" % num1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2009
(16)
►
October
(1)
►
September
(1)
►
May
(2)
►
April
(1)
►
March
(4)
►
February
(1)
▼
January
(6)
Getting Linux Distrobutions
Virtual Library Python Programming For The Absolut...
Evil Message
Enter A Number
Math
Hang Man Example Code Class #3
About Me
Nate
View my complete profile
No comments:
Post a Comment