A
Q. What is the output of the following code?
Code:
x = 5
y = 2
if x > y:
print("x is greater than y")
else:
print("y is greater than x")
y = 2
if x > y:
print("x is greater than y")
else:
print("y is greater than x")
- Correct Answer - Option(B)
- Views: 32
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.