Q. Which of the following will raise a `ZeroDivisionError`?

  • (A) 10 / 0
  • (B) 10 % 2
  • (C) 10 // 3
  • (D) 10 * 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) 10 / 0
Explanation: Division by zero is not allowed and raises an error.
Explanation by: Mr. Dubey
Division by zero is not allowed and raises an error.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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