Mundo em Python

Contador

import time
cont = 0

while True:
print(cont)
time.sleep(2)
cont = cont +1
0