import winsound
import time

print("\nMake sure your speaker's volume is high enough \nAlso make sure that system volume is not muted\n")

input("Checked everything? Click any key to continue\n")

name = "Name here"

print('Ha', end='')
winsound.Beep(264, 250)
time.sleep(500/2000.0)
print('ppy ', end='')
winsound.Beep(264, 250)
time.sleep(250/2000.0)
print('birth', end='')
winsound.Beep(297, 1000)
time.sleep(250/2000.0)
print('day ', end='')
winsound.Beep(264, 1000)
time.sleep(250/2000.0)
print('to ', end='')
winsound.Beep(352, 1000)
time.sleep(250/2000.0)
print('you')
winsound.Beep(330, 2000)
time.sleep(500/2000.0)

print('Ha', end='')
winsound.Beep(264, 250)
time.sleep(500/2000.0)
print('ppy ', end='')
winsound.Beep(264, 250)
time.sleep(250/2000.0)
print('birth', end='')
winsound.Beep(297, 1000)
time.sleep(250/2000.0)
print('day ', end='')
winsound.Beep(264, 1000)
time.sleep(250/2000.0)
print('to ', end='')
winsound.Beep(396, 1000)
time.sleep(250/2000.0)
print('you')
winsound.Beep(352, 2000)
time.sleep(500/2000.0)

print('Ha', end='')
winsound.Beep(264, 250)
time.sleep(250/2000.0)
print('ppy ', end='')
winsound.Beep(264, 500)
time.sleep(250/1000.0)
print('birth', end='')
winsound.Beep(440, 1000)
time.sleep(250/2000.0)
print('day ', end='')
winsound.Beep(352, 1000)
time.sleep(250/2000.0)
print('dear ', end='')
winsound.Beep(330, 1000)
print(name)
time.sleep(250/2000.0)
winsound.Beep(297, 1000)

winsound.Beep(440, 1000)
time.sleep(250/2000.0)

time.sleep(500/2000.0)
print('Ha', end='')
winsound.Beep(466, 250)
time.sleep(500/2000.0)
print('ppy ', end='')
winsound.Beep(466, 250)
time.sleep(250/2000.0)
print('birth', end='')
winsound.Beep(440, 1000)
time.sleep(250/2000.0)
print('day ', end='')
winsound.Beep(352, 1000)
time.sleep(250/2000.0)
print('to ', end='')
winsound.Beep(396, 1000)
time.sleep(250/2000.0)
print('you')
winsound.Beep(352, 2000)
time.sleep(250/2000.0)

print(f'\nHAPPY BIRTHDAY {name}! <3')
