Updated readme.md
This commit is contained in:
parent
2bc65de9f8
commit
44b5d3e589
25
readme.md
25
readme.md
|
@ -0,0 +1,25 @@
|
|||
### Ejercicio01:
|
||||
|
||||
|
||||
### Ejercicio02:
|
||||
```
|
||||
import threading
|
||||
import time
|
||||
import random
|
||||
|
||||
def escribePunto():
|
||||
for i in range(100):
|
||||
print (".", end="",flush=True)
|
||||
# time.sleep(0.1)
|
||||
random.uniform(0.1, 0.2)
|
||||
return
|
||||
|
||||
print ("INICIO")
|
||||
t = threading.Thread(target=escribePunto)
|
||||
t.start()
|
||||
|
||||
for i in range(50):
|
||||
print ("-", end="",flush=True)
|
||||
# time.sleep(0.2)
|
||||
random.uniform(0.2, 0.3)
|
||||
```
|
Loading…
Reference in New Issue