Changed sleep to random and commented 2 lines
This commit is contained in:
parent
8ddc5cf3f9
commit
2bc65de9f8
|
@ -1,10 +1,12 @@
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
|
import random
|
||||||
|
|
||||||
def escribePunto():
|
def escribePunto():
|
||||||
for i in range(100):
|
for i in range(100):
|
||||||
print (".", end="",flush=True)
|
print (".", end="",flush=True)
|
||||||
time.sleep(0.1)
|
# time.sleep(0.1)
|
||||||
|
random.uniform(0.1, 0.2)
|
||||||
return
|
return
|
||||||
|
|
||||||
print ("INICIO")
|
print ("INICIO")
|
||||||
|
@ -13,4 +15,5 @@ t.start()
|
||||||
|
|
||||||
for i in range(50):
|
for i in range(50):
|
||||||
print ("-", end="",flush=True)
|
print ("-", end="",flush=True)
|
||||||
time.sleep(0.2)
|
# time.sleep(0.2)
|
||||||
|
random.uniform(0.2, 0.3)
|
Loading…
Reference in New Issue