File size: 529 Bytes
4d5b4ae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
import time as t, random as r, fla as f
def z():
print("Starting installation steps...")
t.sleep(1)
for x in range(5):
print(f"task {x+1}: Doing some work... ({r.randint(1, 10)} seconds)")
t.sleep(r.randint(1, 5))
print("tasks completed!")
def a():
print("Executing some long-running process...")
t.sleep(3)
print("Long-running task completed!")
def b():
z()
a()
def c():
print("Installation started...\n")
b()
f.run_setup()
if __name__ == "__main__":
c()
|