I want to make this cool program that plays music while listing my life goals. I can't get the music to play while the text prints. How can I do this?
from playsound import playsound
import time
print('My life goals are:')
playsound('spongebob.mp3.mp3', 1)
print('Life goal 1 \n')
time.sleep(0.2)
print('Life goal 2 \n')
time.sleep(0.2)
print('Life goal 3 \n')
time.sleep(0.2)
print('Life goal 4')
time.sleep(0.2)
print('Life goal 5')
Any idea of how I can do this?