Untitled

Anonymous
plain_text
08/19/2024 2:25 PM
396 B
34
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