What is output of the Python code? y = 8 if y > 10: print("y is greater than 10") elif y < 10 and y > 5: print("y is between 5 and 10") else: print("y is 5 or less") a) y is greater than 10 b) y is between 5 and 10 c) y is 5 or less d) Error
20
1
14
3K
2
@PythonDQ b, because y is less than 10 and greater than 5.
@PythonDQ b) y is between 5 and 10
@PythonDQ B, because the value of y is 8, which satisfies the condition y < 10 and y > 5.