Advertisement
brendan-stanford

happy_birthday

Aug 19th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. def happy_birthday(name):
  2. count = 0
  3. while count < 2:
  4. print("Happy birthday to you!")
  5. count += 1
  6. print("Happy birthday dear " + name + ", happy birthday to you!")
  7.  
  8. happy_birthday(input("What's your name?"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement