πŸ“Š Python
Q. What will be the output of the following program on execution?
Code:
a=0

b=5

x=(a&b)|(a&a)|(a|b)

print("x")
  • (A) 0
  • (B) 1
  • (C) 5
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) None of these

Explanation: print("x"), Here the x is string so the output of the given python code is x.

Explanation by: Ram Sharma
print("x"), Here the x is string so the output of the given python code is x.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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