Python Function and Scope - The function can update outer list, set, dictionary but can't change integer, float, string
Can Python function access or update outer variables? It depends on the type as follows.
python
a = ''
b = []
def f():
a = 'Appl...