python for 循环
2020-12-13 05:50
阅读:324
标签:pre int index lin des nbsp for 字符数组 esc 1. 字符数组 2. python for 循环 标签:pre int index lin des nbsp for 字符数组 esc 原文地址:https://www.cnblogs.com/chaoren399/p/11151312.html# codes = [‘166002‘,‘163406‘]
for code in codes:
print code;
for i in range(10):
print(i)
fruits = [‘banana‘, ‘apple‘, ‘mango‘]
for index in range(len(fruits)):
print ‘当前水果 :‘, fruits[index]
for num in range(10,20): # 迭代 10 到 20 之间的数字
评论
亲,登录后才可以留言!