Advertisement
KaySawbridge

Happy birthday function

Jul 20th, 2020
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. def happy_birthday():
  2.     name= str(input("What is your name? "))
  3.     print ("Happy birthday to you. Happy birthday to you. Happy birthday dear",name+". ","Happy birthday to you.")
  4.  
  5. happy_birthday()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement