Why is that an invalid syntax: else if turn1 ==2: ... ???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is that an invalid syntax: else if turn1 ==2: ... ????

where is the error?

22nd Jan 2017, 4:27 PM
Marv
1 Answer
+ 1
Because in Python, you must use 'elif' keyword, and not 'else if' combinaison ^^
22nd Jan 2017, 4:40 PM
visph
visph - avatar