Programming (12th Grade)
if-elif-else
What will be the output of the following code? x = 10 if x > 10: print('x is greater than 10') else: print('x is less than or equal to 10')
x is greater than 10
x is less than or equal to 10
x is less than 10
Error