Help me in solving PYTH73 problem

My issue

score = int(input())
if (score == 100):
print(“Perfect score”)
elif (Score < 100 and Score >= 80):
print(“Almost perfect score”)
else:
print(“Nice try”)
runtime error get but why

My code


score = int(input())
if (score == 100):
    print("Perfect score")
elif (Score < 100 and Score >= 80):
    print("Almost perfect score")
elif (Score < 80):
    print("Nice try")

Learning course: Learn Python Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-python/RCPITPY17/problems/PYTH73

Hello,
check the variable name score, you have used capital ‘S’ in some places and ‘s’ in other.

1 Like

Ok thanks

1 Like