white语法。
#!usr\bin\env python # -*-coding:UTF-8 -*- import time#替换一个time 的标准库里的代码 n6 = True#赋值n6是:真 while n6:#white循环n6 print('1')#打印1 time.sleep(1)#将输出时间定为1秒钟输出一次 n6 = False#n6再进行一次赋值变成了假:只执行一次white循环代码 print('end')#打印end停止 #icw gn

有一起学习的Python的老铁可以加下我QQ:1149715927
下次继续更新

浙公网安备 33010602011771号