Question 2
Consider the following Python code:
def evaluate_score(score):
if score >= 90:
if score == 100:
print("Perfect Score")
else:
print("Excellent")
elif score >= 60:
if score >= 80:
print("Very Good")
else:
print("Good")
else:
if score >= 40:
if score % 2 == 0:
print("Needs Improvement")
else:
print("Barely Passed")
else:
print("Fail")
Which of the following inputs will produce the output Needs Improvement ?
42
47
39
60