If/else if/elif syntax error
XplosionCoding (7)

How do you add a string from a previous input command into an if statement without any errors? i think i have tried everything but nothing has worked.

You are viewing a single comment. View All
Codejira (174)

I don't know if I understand your question, but you can simplify your program beyond recognition :-)
Functions aren't necessary then.

Note that the statement to exit a loop is break.

XplosionCoding (7)

@Codejira i just realized what i did wrong with your code. Thank you