In [12]:
    
#print "Hello, world"
print 2+3
print "2+3=", 2+3
    
    
In [17]:
    
def hello():
    print "Hello"
    print "Computers are fun"
    print "Oh hey it worked!!!"
    
In [18]:
    
hello()
    
    
In [19]:
    
def greet(person):
    print "Hello", person
    print "How are you?"
    
In [20]:
    
greet("Terry")
greet("Paula")
    
    
In [25]:
    
##Practice Problem: Add Two
## A simple program that adds two to a number 10 times
def main():
    print "This program will add two to an input number ten times."
    x = input("Enter a number: ")
    for i in range(10):
        x = x + 2
        print x
main()
    
    
In [23]:
    
print x