This website requires JavaScript.
Explore
Help
Sign In
alfred
/
LearningPy
Watch
1
Star
0
Fork
0
You've already forked LearningPy
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
cc050dad9f
LearningPy
/
main.py
11 lines
99 B
Python
Raw
Normal View
History
Unescape
Escape
Test global variable access.
2022-11-30 16:03:51 +00:00
#Global test
x
=
0
Test assign array to multiple values for unpacking.
2022-11-30 15:59:50 +00:00
print
(
x
)
Test global variable access.
2022-11-30 16:03:51 +00:00
def
myfunc
(
)
:
global
x
x
=
1
print
(
x
)
myfunc
(
)
Reference in New Issue
Copy Permalink