Skip to content
Profile icon

I want to ask that how we can give background sound to our game in python?

You are viewing a single comment. View All
Profile icon

A simple beep is possible in Python, and other languages, by printing an ascii bell character.
print("\a") or print("\7") will do this. A few of these with a short sleep() between them can be useful.

Profile icon

i did while true loop and did it undreneath. Sounded terrible