code for chapter 3

This commit is contained in:
Aditya Bhargava
2016-03-02 14:15:37 -08:00
parent 77da85bf4c
commit 8cf108a20c
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
def greet2(name):
print "how are you, " + name + "?"
def bye():
print "ok bye!"
def greet(name):
print "hello, " + name + "!"
greet2(name)
print "getting ready to say bye..."
bye()
greet("adit")