for循环
list = ['a', 'b', 'c']
for item in list:
print(item)
print (item)
#
a
b
c
for循环(使用range)
list = ['a', 'b', 'c']
for i in range(len(list)):
print(list[i])
#
a
b
c
for循环
list = ['a', 'b', 'c']
for item in list:
print(item)
print (item)
#
a
b
c
for循环(使用range)
list = ['a', 'b', 'c']
for i in range(len(list)):
print(list[i])
#
a
b
c