Advertisement
A248

Revision 1

Sep 14th, 2021
931
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.56 KB | None | 0 0
  1. Person_type = input("What type of person are you?:")
  2. name=input("What is your name:")
  3. num_people_saved = input("how many people have you saved:")
  4. num_people_saved_=int(num_people_saved)
  5. if Person_type == "villain":
  6.     print(name+"sounds pretty evil")
  7. elif Person_type =="hero":
  8.     print("how many people have you saved?")
  9. if num_people_saved_<=10:
  10.     print("Go on more patrols")
  11. elif num_people_saved_>10 and num_people_saved_<100:
  12.     print("sounds like you\'re making a difference")
  13. elif num_people_saved_>100:
  14.     print("Wow, great job saving the city")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement