Share your repls and programming experiences

← Back to all posts
Hangman
CalebToporovsky (0)

Can someone explain why elif wont work on line 10

Comments
hotnewtop
Creatito1 (6)

it should be indented like this:

if condition:
  stuff to do if condition is True
elif condition2:
  stuff to do if condition2 is True
CalebToporovsky (0)

@Creatito1 Can you please write it correctly and then @ me in it I am knew to python thank you

Creatito1 (6)

@CalebToporovsky I kept messing up when I tried to write it out so I ended up just making a fork of it. All I fixed was the indenting, tell me if you need any more help with it.
its here: https://replit.com/@Creatito1/Hangman-Fork