We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa0b77 commit 8f001f6Copy full SHA for 8f001f6
1 file changed
globel_keyword.py
@@ -0,0 +1,24 @@
1
+# a=10
2
+# def display():
3
+# global a
4
+# a=a+1
5
+# print(a)
6
+# display()
7
+
8
9
+# a=20
10
+# def show():
11
12
+# a=30
13
+# print(f"value of a before calling show() function is {a}")
14
+# show()
15
+# print(f"value of a after calling show() function is {a}")
16
17
18
+name="Jenny's"
19
+def display():
20
+ global name
21
+ name=name+" Lectures"
22
+print(name)
23
+display()
24
0 commit comments