import time import random def addHumanReaction(): delay = random.uniform(0.1, 0.4) time.sleep(delay)