Raising errors — making your code fail loudly on purpose — step 2 of 9
Read the code. divide(10, 0) triggers the raise on line 3. The
caller wraps it in try/except. What prints?
⌘↵ runs the editor.read, then continue.
Raising errors — making your code fail loudly on purpose — step 2 of 9
Read the code. divide(10, 0) triggers the raise on line 3. The
caller wraps it in try/except. What prints?
⌘↵ runs the editor.read, then continue.