Error in python compiler

Asked

Viewed 13 times

-3

nota = int(input())

if nota == 0:
            print('E')
        elif nota >= 1 and nota <= 35:
            print('D')
        elif nota >= 36 and nota <= 60:
            print('C')
        elif nota >= 61 and nota <= 85:
            print('B')
        elif nota >= 86 and nota <= 100:
            print('A')

When executing the code appears the message "Error compiling '/tmp/tmpu3l9jp1g/1241test.py'... Sorry: Indentationerror: unindent does not match any Outer indentation level (1241test.py, line 5)"

I’m using an online compiler someone has a suggestion?

  • just fix the code indentation, that’s all.

  • The error is this same, the indentation.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.