Verified Commit 576262fc authored by Renato Alves's avatar Renato Alves 🌱

Add text variable to code example

parent 7d3975f6
......@@ -646,6 +646,7 @@ which happens when we use a variable that was not defined in the current scope.
But wait, there's more!
0 text = "Hello exceptions"
1 try:
2 complex_function(text)
3 except (IndexError, KeyError):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment