File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ case is ``result``. In most cases and you won't need to use the
3636which includes the ``global `` keyword. So what that function is doing is
3737that it is making a global variable ``result ``. What does global mean
3838here? Global variable means that we can access that variable outside the
39- scope of the function as well. Let me demonstrate it with an example :
39+ scope of the function as well. Let me demonstrate it with an example:
4040
4141.. code :: python
4242
@@ -47,7 +47,7 @@ scope of the function as well. Let me demonstrate it with an example :
4747 add(2 , 4 )
4848 print (result)
4949
50- # Oh crap we encountered an exception. Why is it so ?
50+ # Oh crap, we encountered an exception. Why is it so?
5151 # the python interpreter is telling us that we do not
5252 # have any variable with the name of result. It is so
5353 # because the result variable is only accessible inside
You can’t perform that action at this time.
0 commit comments