Advertisement
biswasrohit20

py medals

Mar 12th, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. # Bronze
  2.  
  3. given = input("Please enter your given name: ")
  4. middle = input("Please enter your middle name: ")
  5. family = input("Please enter your family name: ")
  6.  
  7. print(family)
  8. print(given)
  9. print(middle)
  10.  
  11.  
  12. # Silver
  13.  
  14. given = input("Please enter your given name: ")
  15. middle = input("Please enter your middle name: ")
  16. family = input("Please enter your family name: ")
  17.  
  18. print(family + ",")
  19. print(given)
  20. print(middle + ".")
  21.  
  22.  
  23. # Gold
  24.  
  25. given = input("Please enter your given name: ")
  26. middle = input("Please enter your middle name: ")
  27. family = input("Please enter your family name: ")
  28.  
  29. print(family + ", " + given + " " + middle + ".")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement