+ 2

Why my code is not working ? What is wrong in it ? Please help me.

https://code.sololearn.com/ceWL5Id3miFf/?ref=app

6th Nov 2019, 5:34 PM
Apoorv Pradhan
Apoorv Pradhan - avatar
2 Answers
+ 10
Your code is error free. Just the problem is with the indentation. You need to be consistent about the size of the indentation across the program. To understand about indentation: https://code.sololearn.com/cT5BRIbkia21/?ref=app#py To understand the input handling in Sololearn : https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
6th Nov 2019, 5:50 PM
Nova
Nova - avatar
+ 7
Wow, what a indentation! Try reducing spaces. Main problem is that you put input in for loop. Place it before for loop
6th Nov 2019, 5:43 PM
Asman-H
Asman-H - avatar