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
22635900ee
LearningPy
/
main.py
7 lines
94 B
Python
Raw
Normal View
History
Unescape
Escape
Test assign array to multiple values for unpacking.
2022-11-30 15:59:50 +00:00
#Python unpack testing
numbers
=
[
1
,
2
,
3
]
x
,
y
,
z
=
numbers
print
(
x
)
print
(
y
)
print
(
z
)
Reference in New Issue
Copy Permalink