Quiz · Conditions · lesson 6 of 8
Quiz — a conditional expression
What does the program print?
n = 0
sign = "plus" if n > 0 else "minus" if n < 0 else "zero"
print(sign)Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.