oren @oren

Advice to all Python users: learn JavaScript

Jul 6, 2022, 10:01 PM
51
View all Parent

comments

Highlighted comment

Also, indents have to be 4 spaces, can't be 2

they can be anything as long as they are consistent

I'm not sure what you're using but it isn't standard python

Python doesn't mind whether you use two spaces or four spaces (or any other number of spaces) as long as you are consistent. For example if you start off using four spaces for an indent, then you should always use four spaces.