Klaudija Ljevar4,476 Points
Inconsistent use of tabs
Hi everybody I need help here.. Not sure what is the meaning of this error and how to solve it.
moves = ["LEFT", "RIGHT", "UP", "DOWN"]
x, y = player
if x == 0:
if x == 4:
if y == 0:
if y == 4:
KRIS NIKOLAISENPro Student 50,871 Points
It will be hard to tell here, especially without using markdown, but it means each indentation should use the same number of tabs. Somewhere you have an extra/missing tab or space. You'll have to go line by line and re-indent.
Abdumalik Sharipov2,243 Points
hello Klaudija Ljevar.
I recommend you and who is reading this comment watching Markdown_Basics, and it increases your resource code readability and stand out quite nicely.
I am leaving the link below. Check it out before going on further. Trust me it makes your code whole lot snazzy and goes a long way.
This one the whole course: Markdown_Basics
Or for just quick peek:
And check out this link too: