Ejercicio 15/10/2024

This commit is contained in:
15Diego15 2024-10-15 16:30:20 +00:00
commit 1f025765ab
1 changed files with 13 additions and 0 deletions

13
Ejercicio.py Normal file
View File

@ -0,0 +1,13 @@
import threading
import time
def writeMyName():
name = "Diego David Cayo"
for c in name:
print(c, end='', flush=True)
time.sleep(0.4)
print()
print("Mi nombre es:")
thread = threading.Thread(target=writeMyName)
thread.start()