This commit is contained in:
jon ander 2024-10-15 18:58:28 +02:00
parent 00f1e6a80f
commit bae6b7b92e
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
import threading
def escribeY():
for i in range(1000):
print ("y", end="",flush=True)
return
print ("INICIO")
t = threading.Thread(target=escribeY)
t.start()
for i in range(1000):
print ("X", end="",flush=True)