#数字列表
for i in [1,2,3,4,5]:
print(i)
#迭代处理字符串
for ch in "HelloWorld":
print(ch)
#使用range,接收整数参数
for num in range(5):
print("HelloWorld");
#数字列表
for i in [1,2,3,4,5]:
print(i)
#迭代处理字符串
for ch in "HelloWorld":
print(ch)
#使用range,接收整数参数
for num in range(5):
print("HelloWorld");