Catching the right error — not 'anything that goes wrong' — step 2 of 9
Read the code. items[10] on a three-element list raises IndexError.
Three except clauses are stacked. Which one prints?
⌘↵ runs the editor.read, then continue.
Catching the right error — not 'anything that goes wrong' — step 2 of 9
Read the code. items[10] on a three-element list raises IndexError.
Three except clauses are stacked. Which one prints?
⌘↵ runs the editor.read, then continue.