Advertisement
KodingKid

Basic Python green, amber, red/go, ready, stop traffic light game - Basic Scripting #36

Jul 7th, 2021
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. user_input = input()
  2. if user_input = "Green" or "green":
  3. print("Go!")
  4. if user_input = "Amber" or "amber":
  5. print("Ready!")
  6. if user_input = "Red" or "red":
  7. print("Wait!")
  8. if else:
  9. print("I'm sorry, I don't understand...")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement