0

Need some help here guys. I'm getting indentation errors but I don't understand why. Where am I not indenting?

score = raw_input("Enter score between 0.0 and 0.1:") try: if score >= 0.9 : print "A" elif score >= 0.8 : print "B" elif score >= 0.7 : print "C" elif score >= 0.6 : print "D" else score < 0.6 : print "F" except: print("Value entered must be between 0.0 and 0.1 . Please try again.")

13th Nov 2016, 8:01 PM
Philip Lewis
Philip Lewis - avatar
2 Answers
0
what editor are you using? from a first look Id suggest hitting enter after the try: and see if it indents differently from it is now
13th Nov 2016, 8:15 PM
Cristi Vlad
Cristi Vlad - avatar
0
Yes but as you can see, my print function is already correct. Been using Dcoder which is an android app.
13th Nov 2016, 10:37 PM
Philip Lewis
Philip Lewis - avatar