- 循环语句
1)示例------无限循环语句
#! /usr/bin/python
import time
while 1==1:
print('OK',time.time())
2)示例-----有表达式的循环语句
count = 0
while count < 0:
print('OK',count)
count = count + 1
#! /usr/bin/python
import time
while 1==1:
print('OK',time.time())
2)示例-----有表达式的循环语句
count = 0
while count < 0:
print('OK',count)
count = count + 1