A
Q. Write the output of the following:
Code:
a=15
b=6
c=7
d=8
if a > b:
if c > a:
if d < c:
print("Hello")
else:
print("B")
else:
print("A")
b=6
c=7
d=8
if a > b:
if c > a:
if d < c:
print("Hello")
else:
print("B")
else:
print("A")
- Correct Answer - Option(D)
- Views: 23
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.