8 lines
151 B
Python
8 lines
151 B
Python
|
import time
|
||
|
class Server():
|
||
|
def __init__(self):
|
||
|
i = 0
|
||
|
while True:
|
||
|
i += 1
|
||
|
print(i)
|
||
|
time.sleep(1)
|