1.for循环
hello = "helloworld"
for i in hello:
print(i)
2.循环else 2.1 while循环 else while 条件表达式: 代码块 else: 循环结束后执行的代码块
i = 1
while i <= 5:
print("媳妇,我错了")
i += 1
else:
print("媳妇原谅我了,我好开心")
2.for循环 else
hello = "HelloWorld"
for i in hello:
print(i)
else:
print("循环语句结束")