Changed sleep to random and commented 2 lines

This commit is contained in:
Dennis Eckerskorn 2024-10-15 17:50:57 +02:00
parent 8ddc5cf3f9
commit 2bc65de9f8
1 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,12 @@
import threading
import time
import random
def escribePunto():
for i in range(100):
print (".", end="",flush=True)
time.sleep(0.1)
# time.sleep(0.1)
random.uniform(0.1, 0.2)
return
print ("INICIO")
@ -13,4 +15,5 @@ t.start()
for i in range(50):
print ("-", end="",flush=True)
time.sleep(0.2)
# time.sleep(0.2)
random.uniform(0.2, 0.3)