A

Admin • 833K Points
Coach

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

  • (A) 10 / 0
  • (B) 10 % 2
  • (C) 10 // 3
  • (D) 10 * 0
  • Correct Answer - Option(A)
  • Views: 24
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Division by zero is not allowed and raises an error.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.