10 / 0 in Python causes:
- IndexError
- SyntaxError
- ZeroDivisionError
- NameError
Answer
C) ZeroDivisionError
Division by zero is a runtime error. SLO CS-11-C-07
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise
C) ZeroDivisionError
Division by zero is a runtime error. SLO CS-11-C-07
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise