What happens if I use tab instead of white space in if condition ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

What happens if I use tab instead of white space in if condition ?

21st Mar 2017, 3:55 AM
Yogesh Kumar
Yogesh Kumar - avatar
3 Respuestas
+ 13
tab makes things easier imo, but it doesn't make a difference unless they're uneven. either works
21st Mar 2017, 4:13 AM
Ahri Fox
Ahri Fox - avatar
+ 2
It won't change anything. Only the indentation level is significant.
21st Mar 2017, 4:11 AM
Martian1oh1
Martian1oh1 - avatar
+ 2
thanks to both of you to reply to me.
22nd Mar 2017, 10:43 AM
Yogesh Kumar
Yogesh Kumar - avatar