+ 1

What went wrong in my first python program

Is there any mistake in if else condition https://code.sololearn.com/cRfsmDZ8Y0Hl/?ref=app

14th Oct 2020, 7:11 AM
Shivam Shiva
Shivam Shiva - avatar
2 Respostas
0
Nothing wrong just remove space in front of else . Remember about indentation while coding in python. Python don't use curly brackets to define block. It use indentation
14th Oct 2020, 8:22 AM
Ayush Kumar
Ayush Kumar - avatar
+ 3
Remove "space" or "indentation" before else.
14th Oct 2020, 7:14 AM
Omkar Kamat
Omkar Kamat - avatar