Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

what will be the output when the following code is run? score = 60 if (…

Question

what will be the output when the following code is run?
score = 60
if (score >= 100):
print(\you have skills\)
elif (score >= 75):
print(
oom for improvement\)
else:
print(\this game isnt for you\)
select one:
a. you have skills
b. this game isnt for you
c. nothing will be printed
d. room for improvement

Explanation:

Step1: Check first condition

Check if \( score >= 100 \). Here \( score = 60 \), so \( 60>=100 \) is \( False \).

Step2: Check second condition

Check if \( score >= 75 \). Since \( 60>=75 \) is \( False \).

Step3: Execute else block

Since both \( if \) and \( elif \) conditions are \( False \), the \( else \) block \( print("This game isn't for you") \) is executed.

Answer:

B. This game isn't for you