l1 = [1,2,3]
l2 = (4, 5, 6)
for i in l1, l2:
print(i)
[1, 2, 3]
(4, 5, 6)
for循环还可以这样?
猜你喜欢
转载自blog.csdn.net/weixin_39541632/article/details/103368689
今日推荐
周排行