Answer the question
In order to leave comments, you need to log in
[Python] How to make a delete ticker?
Good afternoon, you need to make a cycle in which the letter will be written every second with an indent of 1-2 spaces. Thanks to those who will respond.
Answer the question
In order to leave comments, you need to log in
import time
stroka = 'Hello, Habr!'
for char in stroka:
print(char,end=" ", flush=True)
time.sleep(0.2) # Время в мс
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question