+ 1
Is tab is necessary in python 3 ???
when i am using if function and after print(without using tab space) statement when i execute it. I found error in program!! why???
3 Respuestas
+ 5
Some editors handle indentation better than others. I felt that Pydroid3 is really annoying that way.
Sticking to either tabs or spaces is a good idea.
If you're still insecure how indentation is exactly done, you can read (not run) this:
https://code.sololearn.com/cT5BRIbkia21/?ref=app
+ 3
Yes... Tab for indentation.
+ 2
Not necessary to use tabs, because you can also use spaces, but don't use both.