0

Why this code is not working ? Can any one help me out with it

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

9th Apr 2017, 2:28 AM
ash
7 Answers
+ 3
you have a bunch of elif statements, but you didnt put anything after them
9th Apr 2017, 2:46 AM
Edward
+ 2
also the indentations are wrong
9th Apr 2017, 2:47 AM
Edward
0
isn't this the same question? Same answer, Wrong indentation. https://www.sololearn.com/discuss/302722/?ref=app
9th Apr 2017, 5:52 AM
Eranga
Eranga - avatar
0
yes it's same question it's the first time I've done that code
9th Apr 2017, 6:44 AM
ash
0
and thanks for answering my questions..
9th Apr 2017, 6:46 AM
ash
0
what is mean by indentation ?
9th Apr 2017, 6:58 AM
ash
0
"To indicate a block of code in Python, you must indent each line of the block by the same amount. The two blocks of code in our example if-statement are both indented four spaces, which is a typical amount of indentation for Python." more info http://www.peachpit.com/articles/article.aspx?p=1312792&seqNum=3
9th Apr 2017, 7:01 AM
Eranga
Eranga - avatar