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
5.4k points