Why this code show indentation error? 🤔 Any debugger help me 🤚 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why this code show indentation error? 🤔 Any debugger help me 🤚

I am writing program for bank any help me to debug this code

4th Nov 2018, 8:35 AM
Programmer Raja
Programmer Raja - avatar
7 Answers
+ 3
I think that you refer to https://code.sololearn.com/c9kQIdvSHlMq/# Well, you have to keep consistency about indentations... If you start a sub-block with 2 space of indentation, you CANNOT use 3 space for next line block. You have to use always same indentation P.S. Please, next time, link your code
4th Nov 2018, 10:47 AM
KrOW
KrOW - avatar
+ 6
Think it is a try: without an except: You do that in your last code, in the def. I have tried it with: except: pass And then your code runs.
4th Nov 2018, 9:35 AM
Paul
Paul - avatar
+ 4
Can you share your code, please?
4th Nov 2018, 8:44 AM
Théophile
Théophile - avatar
+ 3
K.Boopathi Dont worry 👍👍👍
4th Nov 2018, 1:57 PM
KrOW
KrOW - avatar
+ 2
This what you wanted ? in line 13 you have to add wht the error message should be https://code.sololearn.com/ca3cHdeo0nsc/?ref=app
4th Nov 2018, 12:05 PM
Mbrustler
Mbrustler - avatar
+ 2
Sorry for some technical problem
4th Nov 2018, 1:31 PM
Programmer Raja
Programmer Raja - avatar
4th Nov 2018, 1:31 PM
Programmer Raja
Programmer Raja - avatar