0
Please how do i indent the next line after the if statement on this mobile platform
2 Answers
+ 5
In the playground, there should be an extra banner over your keyboard, with a tab button on the left. Maybe your device isn't showing it correctly?
0
You can use either tabs or spaces, Python allows both. But only ONE of them, both tabs and spaces in the same piece of code is not allowed.
also your can choose how deep you want to indent it, but you should keep it consistent, like 1, 2, 3 spaces, however many you want.
You should use spaces, the Python style guide recommends that too.