Ask coding questions

← Back to all posts
ELIF STATMENT
skullYT1

I have been learning coding for some time now and something is wrong with my elif statement

pls help

Voters
skullYT1
Comments
hotnewtop
Coder100

the if elif else statement syntax looks like this:

So for you:

MrVoo

As VXZELL said, you need to move the elif (and else) one indent to the left.

VXZELL12345

i think you didn't indent the elif correctly