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