0

Please how do i indent the next line after the if statement on this mobile platform

21st Nov 2016, 12:32 AM
Joshua Oludami Bajela
Joshua Oludami Bajela - avatar
2 ответов
+ 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?
21st Nov 2016, 1:43 AM
Tamra
Tamra - avatar
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.
21st Nov 2016, 4:17 AM
asdadasdsaczxc