• Courses
  • Tutorials
  • Practice
  • Contests
Switch to Dark Mode

Python | Exception Handling quiz | Question 2

Last Updated : Jan 13, 2025
Discuss
Comments

How can you handle exceptions in Python?

A

Using if-else statements

B

Using try-except blocks

C

Using switch-case statements

D

Using for loops

Share your thoughts in the comments