+ 1
Help with sintax on python
I'm writting a code on my desktop, a rpg game. But a if statement on final of the page don't work. File "..\Playground\", line 55 if JJ == "Cave":^ SyntaxError: invalid syntax (the ^ is for ":"). Someone can help how I resolve? Ps : The first code is complete version, the second just the function with problem. https://code.sololearn.com/cSc2Y38vwXlJ/#py https://code.sololearn.com/cGdTC6b151XY/#py
4 Respuestas
+ 2
JJ = (input("Where loook?")
there is no need for ( before input
+ 3
So should look like this, verbatim:
JJ = input(“Where loook?”)
+ 3
you forgot a bracket thats all (-:
+ 2
yeah, now I see. Thanks. Python is difficult because of sintax