happy birthday

Download Raw Clone


  1. #This program sings happy birthday, in this case to twins James and Dorothy
  2. def happy_birthday(name):
  3. print("Happy Birthday to you!")
  4. print("Happy Birthday to you!")
  5. print("Happy Birthday dear " + name + "!")
  6. print("Happy Birthday to you!")
  7. print("Hip hip, hooray! Hip hip, hooray! Hip hip, hooray!")
  8. print("")
  9. happy_birthday("James")
  10. happy_birthday("Dorothy")

Raw paste data: