Indentationerror | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Indentationerror

Help. It's give me unexpected indent https://code.sololearn.com/cfc9Kf2SEcjp/?ref=app

2nd May 2020, 9:28 PM
Abdulrahman
Abdulrahman - avatar
4 Answers
+ 5
Remove starting space from each line. Indentation is very important in Python. And also we cannot take input inside loop on Sololearn.
2nd May 2020, 9:36 PM
A͢J
A͢J - avatar
+ 2
Pls write the errors you are getting or a description of what you want to know, instead of just writing help ,that doesn't helps the reader and they have to look into code which consumes their time Your code has indentation errors , that's the most basic thing you learn in python ,makes we wonder if you wrote this program or not !
2nd May 2020, 9:36 PM
Abhay
Abhay - avatar
0
This isn't my program I copyd from the internet And I'm getting this error I removed the spaces and didn't work
2nd May 2020, 9:45 PM
Abdulrahman
Abdulrahman - avatar
- 1
Consider this code.. I have corrected all the errors.. https://code.sololearn.com/cJHpMa8Q1tmC/?ref=app
3rd May 2020, 2:34 AM
Eswar V