源代码
i = 1 while i < 6: print(i) i += 1 else: print("i is no longer less than 6")
运行结果