I need a countdown timer in python but without skipping line.
from time import sleep
for c in range (4,0,-1):
print(c)
sleep(1)
this code makes the countdown by jumping the lines ex:
print('3')
print('2')
print('1')
I need that in the same line show first 3, then 2, last 1. ex:
print('3,' + sleep(1) + '2,' + sleep(1) + '1.')