Forum Thread: Why Am I Getting ELIF Invalid Syntax Error?

Why Am I Getting ELIF Invalid Syntax Error?

Hello,
When i went from python 2.7 to python 3.5 I started having problem with ELIF statement.
I am using PyCharm so when i enter elif statement it shows an error and this

and when I press it this happens but code still doesn't works...

Anyways, here is the whole code and please help me if you can because this is not first time happening, I can't find help anywhere and well it's really annoying...

code: http://paste2.org/Oe0s6bLp

2 Responses

Replace the while with if

Yea, I saw the error, thank you very much!

Share Your Thoughts

  • Hot
  • Active