import winsound
from random import randint
from time import sleep
MAX_FREQUENCY = 2500
MAX_DURATION = 1000
def generate_random_beeps(minutes):
for _ in range(minutes * 1000):
frequency = randint(1, MAX_FREQUENCY)
duration = randint(1, MAX_FREQUENCY)
winsound.Beep(frequency, duration)
sleep(10)