+ 1
IndentationError: unexpected indent
It keeps saying there is an unexpected indentation. Even after i delete it. What could be the issue? purity = float(input()) #your code goes here purity = 93.4; if purity < 91.7: print ("Not accepted") if purity > 91.7: print ("Accepted") if purity > 99.9: print ("Accepted")
2 Antworten
+ 2
purity = float(input())
#your code goes here
purity = 93.4;
if purity < 91.7:
print ("Not accepted")
if purity > 91.7:
print ("Accepted")
if purity > 99.9:
print ("Accepted")
#Try this
+ 1
You mostly indent the line after a line that ends with a colon (:).