I'm working hard on a small text-based RPG, and I ran into this issue:
In the beginning, I asked the player if they wanted to go left or right, and named that soldierdecisionone. After working through the entire story if the player chose left, I started on right. But when I said:
if soldierdecisionone=='Right' or soldierdecisionone=='right': input(...),
It said that everything after 'if soldierdecisionone=='Left'...' had a syntax error. If this doesn't make sense, I have here a link to a Google Doc with my code.
Thank you so much if you take the time to answer my confusing question, haha
https://docs.google.com/document/d/1qrnZ6cX2hZoXmKitJpWoIhcJfQF-3KVOJG4e1ftsUBk/edit?usp=sharing
string.upper()will convert the input into all upper case so you don't have to writeorfor each capitalization. Instead only sayingif string.upper() == "UPPERCASE STRING":