I am having random Indentation Glitches in python

I keep getting a glitch in my python project where there is an indentation error on my cursor. I’ve never had this before and I’d appreciate any help. Thanks for reading.
Image of code:
Screenshot 2023-08-04 4.57.13 PM

please send a link to the file in your repl (not an invite)

Sorry but how do I do that?

right-click on the position of your error, and click “Copy link to position”


I do believe thats it.

1 Like

oh, this is strange. Are you still getting it? Try after running in Shell to restart the code intelligence:

pkill python3

if not, close and re-open the tab for the file


Thanks! I think it was just a glitch and Its fixed now.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.