Q. What will be the value of the following Python expression? 4 + 3 % 5

  • (A) 4
  • (B) 7
  • (C) 2
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (B) 7
Explanation: the order of precedence is: %,+. Hence the expression above, on
simplification results in 4 + 3 = 7.
Hence the result is 7.

Explanation by: Mr. Dubey
the order of precedence is: %,+. Hence the expression above, on
simplification results in 4 + 3 = 7.
Hence the result is 7.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
260
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate