Test Your Knowledge: Quiz

 

 
  1. What is the try statement for?
  2. What are the two common variations of the try statement?
  3. What is the raise statement for?
  4. What is the assert statement designed to do, and what other statement is it like?
  5. What is the with/as statement designed to do, and what other statement is it like?