A
Q. What will be the output of the following Python code?
Code:
a = 13
b = 15
print("A is greater") if a > b else print("=") if a == b else print("B is greater")
b = 15
print("A is greater") if a > b else print("=") if a == b else print("B is greater")
- Correct Answer - Option(B)
- Views: 32
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.