Advertisement
Mori007

Hbd function

May 8th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. # Say Happy birthday to screen
  2.  
  3. def hbd(name):
  4.     for i in range(5):
  5.         print("Happy birthday to " + name)
  6.     return name
  7.    
  8. name = str(input("What is your name dud > "))
  9. hbd(name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement