Why do I have to use the tab in lines? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do I have to use the tab in lines?

I'm a noobie so pardon my ignorance :3 https://code.sololearn.com/cxri1qf4Y6ZR/?ref=app

16th Jul 2020, 1:47 PM
Georgina Edita
Georgina Edita - avatar
4 Answers
+ 3
You don't need a tab for indentation ,it just makes the code more readable you could just provide a single space and it will work fine
16th Jul 2020, 1:58 PM
Abhay
Abhay - avatar
+ 1
What is indentation? I mean the purpose of it? 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥
16th Jul 2020, 1:54 PM
Georgina Edita
Georgina Edita - avatar
+ 1
Ohh thank you so much for the clarification! It's my first day and I truly had no idea about programming. Thanks again 😊
16th Jul 2020, 2:11 PM
Georgina Edita
Georgina Edita - avatar
0
But it doesn't work if I don't use it :/ ~ swim ~
16th Jul 2020, 1:51 PM
Georgina Edita
Georgina Edita - avatar