572
edits
Changes
m
→Part 2: Global Scope
::*Note that the function1() call does not modify the global '''schoolName''' object but function2() does.
:5 . As the last task for this lab: modify the script above so that it would print the following, by changing only the scope of some objects. Save the program as '''lab7i.py''': <source lang="bash">
print() in main on schoolName: Seneca
print() in function1 on schoolName: SICT