+ 1
What is an identation
4 ответов
+ 1
Some blank space at the beginning of a line before you write something.
The convention in Python is for one identation you use 4 blanks.
example:
if x = True:
if y = False:
print (x)
+ 1
indentation is space given at the start of the line to clearly indicate the code block and easy readability. indentation will help in segregating the code .
example : after the if condition , use the space to distinguish the code from the condition.
+ 1
Remember to use spaces instead tabs. ;)
0
if you are having trouble on your computer, it's the TAB button on the far left of your keyboard.