πŸ“Š Python
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")
  • (A) y is greater than x
  • (B) x is greater than y
  • (C) x=y
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) x is greater than y

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
176
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
89%
Success Rate