Created
September 10, 2020 03:26
-
-
Save dev4Fun/3d1498e34976b797f12d5fd114bb43b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from time import sleep | |
def rand_wait_min(a=None, b=None): | |
a = a if not a else a * 60 | |
b = b if not b else b * 60 | |
rand_wait_sec(a, b) | |
def rand_wait_sec(min_v=2, max_v=3): | |
sleep(random.randint(min_v, max_v)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment