525,044 views
8 votes
8 votes
I was writing my code when all the sudden, I get this error about my if statement, it doesn't make sense to me, I indented correctly, and that is how you write it, any solutions?

Input:
def main():
language == input("Please type in a language, Espanol or English")
if(language == "English" ):
print("It works")
main()

Output:
SyntaxError: bad input on line 3

User Marybeth
by
3.0k points

1 Answer

10 votes
10 votes

Answer:

I dont know, maybe type it again or, ask someone about it maybe?

Step-by-step explanation:

User John Lindgren
by
2.8k points