Question 1
What is the role of the finally block in exception handling?
Question 2
What happens if an exception is raised in the finally block?
Question 3
What is the primary purpose of the raise keyword in python?
Question 4
Which block is not mandatory in a try-except-finally structure?
Question 5
In which block do you typically place the code that you want to execute when no exceptions occur?
Question 6
In python, can you have multiple except blocks for a single try block?
Question 7
What is the primary purpose of the try block in python?
Question 8
Which block allows you to specify code that should be executed when an exception occurs?
Question 9
Which block is used to handle exceptions in python?
Question 10
What is the purpose of the else block in exception handling?