70.0k views
0 votes
Fill in the blank

What is the output of this program?
age = 4
if age > 5
print("more")
else
print("less")
Output:

1 Answer

1 vote

age = 4

if age > 5:

print("more")

else:

print("less")

Answer: Less

Explanation: 4 is less than 5, so it will print less. I just tried it out on PyCharm.

User Shadmehr Vadoodi
by
8.5k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.