Using built in Window Sounds
SystemQuestion to play different system sounds.
Note make sure you include the capital letters where they are positioned
Playing .wav sounds in the same folder as your program
Make sure you place the sound file (eg scream.wav) in the same folder as your python program file.
Note don't name your program winsound.py or any import name
Create your own sounds
Note you need to experiment to find the best frequency and duration
Sounds in a loop