I did write this code in pygame if that has something to do with it.
if x<=-50: # This is line 91 in a while loop no other indents needed
x=-50
elif x>=1200:
x=1200
Here's the error I got:
Traceback (most recent call last):
File "C:\Users\Dell\Desktop\Zombie survival\Gun_Boi_and_Zombie_Boi.py", line 3, in <module>
from Main_Menu_Gun_Boi import mainmenu
File "C:\Users\Dell\Desktop\Zombie survival\Main_Menu_Gun_Boi.py", line 91
^
IndentationError: expected an indented block
I haven't touched this piece of code in a while, and this just happened out of the blue. And the pointer doesn't help at all.