Untitled

 avatar
unknown
plain_text
a year ago
295 B
21
Indexable
import time
import sys

def escrever_como_humano(texto, intervalo=0.1):
    for letra in texto:
        sys.stdout.write(letra)
        sys.stdout.flush()
        time.sleep(intervalo)

# Exemplo de uso
escrever_como_humano("Estou simulando uma pessoa digitando agora Filipe!!", 0.1)
Editor is loading...
Leave a Comment