1st Aug 2020, 7:37 AM
Kumar Mangalam
Kumar Mangalam - avatar
5 Answers
+ 8
You need to indent the line after if.
1st Aug 2020, 7:40 AM
HonFu
HonFu - avatar
+ 7
I've written a mini-tutorial about it. Don't run it, just read. https://code.sololearn.com/cT5BRIbkia21/?ref=app
1st Aug 2020, 8:22 AM
HonFu
HonFu - avatar
+ 7
If honfu's tutorial and the below python lesson modules don't help consider learning ruby instead. It does not have pervasive indentation syntax. #Python modules which mention and demonstrate indentation: https://www.sololearn.com/learn/Python/2277/ https://www.sololearn.com/learn/Python/2278/ Ruby tutorial: https://www.sololearn.com/learn/Ruby/2700/
1st Aug 2020, 8:45 AM
Lord Krishna
Lord Krishna - avatar
0
What is indentation? And how will I do ot
1st Aug 2020, 7:56 AM
Kumar Mangalam
Kumar Mangalam - avatar
0
Thanks @HonFu
1st Aug 2020, 10:49 AM
Kumar Mangalam
Kumar Mangalam - avatar