count = 0
a = ['aa','bb','cc']
for i in a:
if count <= 4:
count = count + 1
print(i,count)
print(count)
转载于:https://www.cnblogs.com/mylovelinux/p/11183829.html
count = 0
a = ['aa','bb','cc']
for i in a:
if count <= 4:
count = count + 1
print(i,count)
print(count)
转载于:https://www.cnblogs.com/mylovelinux/p/11183829.html