from machine import Pin,PWM
from utime import sleep, sleep_ms
def tone(buzzer,freq,time):
    beep=PWM(Pin(buzzer),freq=freq,duty=512)
    sleep_ms(time)
    beep.deinit()

tone(26,239,700)
sleep(0.3)
tone(26,438,700)
sleep(0.3)
tone(26,327,700)
sleep(0.3)
tone(26,630,700)
sleep(0.3)
tone(26,435,700)
sleep(0.3)
tone(26,440,700)
sleep(0.3)
tone(26,434,700)
sleep(0.3)
tone(26,440,700)
sleep(0.3)
tone(26,433,700)
sleep(0.3)
tone(26,500,700)
sleep(0.3)
tone(26,432,700)
sleep(0.3)
tone(26,410,700)
sleep(0.3)
tone(26,431,700)
sleep(0.3)
tone(26,450,700)
sleep(0.3)
tone(26,412,700)