Hi im new how much space should the indent have | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Hi im new how much space should the indent have

26th Aug 2020, 4:48 PM
Keizah Mwelwa
Keizah Mwelwa - avatar
3 ответов
+ 1
1 times tab or 4 times space after <:> like, for blabla:, if blabla:
26th Aug 2020, 4:59 PM
Shadoff
Shadoff - avatar
+ 1
by convention, it is 4 spaces, or 1 tab
26th Aug 2020, 4:50 PM
Steven M
Steven M - avatar
0
Thanks you know it's always a struggle when it comes to indenting
26th Aug 2020, 4:51 PM
Keizah Mwelwa
Keizah Mwelwa - avatar