diff --git a/tutorials/scope_resolution_legb_rule.ipynb b/tutorials/scope_resolution_legb_rule.ipynb index 143e8ba..93f01a2 100644 --- a/tutorials/scope_resolution_legb_rule.ipynb +++ b/tutorials/scope_resolution_legb_rule.ipynb @@ -416,7 +416,7 @@ "global value [ a_var outside a_func() ]\n", "\n", "**c)** \n", - "
global value [ a_var in a_func() ] \n", + "global value [ a_var inside a_func() ] \n", "global value [ a_var outside a_func() ]\n", "\n", "\n" @@ -457,7 +457,7 @@ "\n", "def a_func():\n", " a_var = 'local value'\n", - " print(a_var, '[ a_var in a_func() ]')\n", + " print(a_var, '[ a_var inside a_func() ]')\n", "\n", "a_func()\n", "print(a_var, '[ a_var outside a_func() ]')" @@ -475,11 +475,11 @@ "raises an error\n", "\n", "**b)** \n", - "local value [ a_var in a_func() ]\n", + "local value [ a_var inside a_func() ]\n", "global value [ a_var outside a_func() ]\n", "\n", "**c)** \n", - "global value [ a_var in a_func() ] \n", + "global value [ a_var inside a_func() ] \n", "global value [ a_var outside a_func() ]\n" ] },