221k views
5 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

1 Answer

4 votes

Answer:

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

Step-by-step explanation:

User Nivanka
by
4.6k points