Here is my code:
if console == 'y': # Placeholder pass elif console == 'Y': # Placeholder pass elif console == 'n': # Placeholder pass elif console == 'N': # Placeholder pass elif console == 'Exit': sys.exit(0) else: print('Unknown Command') sys.exit(0) # PlaceholderOn the line
else if console == 'Y':i get the error
Error:SyntaxError: Expected An Indented Block
I'm using IDLE, so i'm getting told its a problem with the "else" in else if console == 'Y':I don't understand what I'm supposed to do. If i indent the line, i get the error
Error:SyntaxError: Invalid Syntax
What am i supposed to do to fix this? If i manage to fix one, the rest will probably return the same error.
Self-taught HTML, CSS, Python, and Java programmer