πŸ“Š Python
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

πŸ‘οΈ
46
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate