for _ in list_new:
print(_)
第一种:for循环遍历每一个元素
第二种:使用index索引访问
for index in range(len(list_new)):
print(list_new[index])
注意index索引是从0~n-1的!
for _ in list_new:
print(_)
第一种:for循环遍历每一个元素
第二种:使用index索引访问
for index in range(len(list_new)):
print(list_new[index])
注意index索引是从0~n-1的!