Ugenz
Academy
Learn • Build • Protect • Grow
Home
Projects
Tech
Blog
IOT
Hacking
python
finally else
Score
0
Question 1 of 20
5%
1
Question
What is the purpose of the `finally` block in Python?
Choose your answer
A
To execute code regardless of whether an exception occurs
B
To execute code only if no exception occurs
C
To handle exceptions
Try & Except
All Quizzes