Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # From "Teaching with Python" by John Zelle
- 2 def happy():
- 3 print("Happy Birthday to you!")
- 4
- 5 def sing(P):
- 6 happy()
- 7 happy()
- 8 print("Happy Birthday dear " + P + "!")
- 9 happy()
- 10
- 11 # main
- 12 sing("Fred")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement