A

Admin • 833K Points
Coach

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")
  • (A) Error
  • (B) Hello
  • (C) B
  • (D) A
  • Correct Answer - Option(D)
  • Views: 23
  • Filed under category Python
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.