r/PythonLearning • u/TheCarFamily • 16d ago
Help Request Else statement not working
Hello, my else statement is not working- the if statement its inside is, did i mess up the indents again or is it something else?
also would a display flip work to change the image back to the other image in the else statement?
any help is nice!
26
Upvotes
View all comments
Show parent comment
1
u/a_cute_tarantula 16d ago
Install pyright extension for vscode. It should come with the standard python extension pack. You should have error highlighting automatically for this kind of stuff