Python Print Birthday Poem Program for printing the popular happy birthday poem to a specific person.
This Python program uses a user defined function print_birthday_poem(person_name). This function takes a person name as parameter and prints happy birthday poem for him / her.
The main function will ask the input that is the birthday person’s name. This name is passed to the user defined function print_birthday_poem(person_name) for printing the birthday song / poem.
Enter the Birthday person's name: Jameel Jami Happy Birthday to you! Happy Birthday to you! Happy Birthday, dear Jameel Jami. Happy Birthday to you! -------------------- You will also like: Python User Defined and Built-in Functions – Defining and Using Functions
1,449 total views, 12 views today