This website requires JavaScript.
Explore
Help
Register
Sign In
chenxuan
/
python
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
3e4309013a1d3ee56ce824e88a057ea240c13191
python
/
pythonProject
/
数据类型
/
列表
/
修改
/
1.py
T
3 lines
57 B
Python
Raw
Normal View
History
Unescape
Escape
no message
2025-10-21 15:54:53 +08:00
a
=
[
1
,
2
,
3
,
'1'
,
True
,
2.1
]
# 通过下标取值
print
(
a
[
2
])
Reference in New Issue
Copy Permalink