44.5k views
0 votes
Write an expression that will cause the following code to print "greater than 20" if the value of user_age is greater than 20.

1 Answer

4 votes

Answer:

if user_age > 20:

print("greater than 20")

Step-by-step explanation:

User Steve Bradshaw
by
6.9k points