小编Tuk*_*son的帖子

这里发生了什么?与人们在人们打印人循环

people = ['mago','pipa','john','mat']
>>> for people in people:
    print(people)


mago
pipa
john
mat
>>> for people in people:
    print(people)


m
a
t
>>> for people in people:
    print(people)


t
>>> for people in people:
    print(people)


t
>>> for people in people:
    print(people)


t
>>> for people in people:
    print(people)
Run Code Online (Sandbox Code Playgroud)

python for-loop

0
推荐指数
1
解决办法
38
查看次数

标签 统计

for-loop ×1

python ×1