Skip to content

循环

for 循环

py
for i in range(5):
    print(i)

while 循环

py
count = 0
while count < 5:
    print(count)
    count += 1

基于 MIT 许可发布