+ 1
how to do Indentation in python.
5 Answers
+ 2
When it comes to Python, creating any code blocks within conditionals, loops, etc. (anything that would normally be written with curly brackets in other languages) requires an indent. All levels of indentation have to be the same, so having an indent for a conditional at one part of your code should be the same sized indent as another conditional at a later point.
+ 3
indentation should start on the next line after :
and you can use space for indentation also
0
Just press tab 🤷♂️
0
I mean what are its rules???
0
Four spaces or Tab key