Ugenz
Academy
Learn • Build • Protect • Grow
Home
Projects
Tech
Blog
IOT
Hacking
python
try except
Score
0
Question 1 of 21
5%
1
Question
What is the purpose of a `try-except` block in Python?
Choose your answer
A
To handle exceptions and prevent program crashes
B
To optimize program execution speed
C
To define functions
Exceptions
Finally & Else