This commit is contained in:
adii1823
2021-10-28 16:58:30 +05:30
parent 028f6992f4
commit ff85709895
19 changed files with 161 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Local versus Global
# we define a function, called local
def local():
m = 7
print(m)
# we define m within the global scope
m = 5
# we call, or `execute` the function local
local()
print(m)