πŸ“Š Python
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")
  • (A) A is greater
  • (B) B is greater
  • (C) Both A and B
  • (D) None of the mentioned above
πŸ’¬ Discuss
βœ… Correct Answer: (B) B is greater

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
202
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
99%
Success Rate