Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Happy birthday song generator
- import time
- def sing_hb(name):
- print "Happy birthday to you"
- time.sleep(1)
- print "Happy birthday to you"
- time.sleep(1)
- print "Happy birthday dear",name
- time.sleep(1)
- print "..."
- time.sleep(1)
- print "Happy birthday to you!"
- name = input("What is your name?")
- sing_hb(name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement