The following code for tuples, dictionaries and lists all be used
A=[1,2,3]
print(A)
# 输出整个列表,包括逗号和括号等
A=[1,2,3]
for a in A:
print(a)
# 输出所有元素
A=[1,2,3]
N=0
while N<len(A):
print(A[N])
N+=1
# 输出所有元素,但语句较长,比较麻烦
Sort list
https://blog.csdn.net/GrofChen/article/details/91466264
a list of all the built-in functions
https://blog.csdn.net/GrofChen/article/details/91371937