Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

fill in the blank what is the output of this program? age = 4 if age > …

Question

fill in the blank
what is the output of this program?
age = 4
if age > 5:
print(\more\)
else:
print(\less\)

Explanation:

Step1: Check the condition

The variable age is 4. The condition age > 5 is False.

Step2: Execute the else - part

Since the condition is False, the code in the else block is executed.

Answer:

less