from playsound import playsound
notes = input("What would you like to play?:\n").split(", ")
for c in notes:
if "a" or "A" in notes:
playsound('/Users/Keller/Downloads/mp3 Notes/a5.mp3')
else:
pass
if "b" or "B" in notes:
playsound('/Users/Keller/Downloads/mp3 Notes/b5.mp3')
else:
pass
if "c" or "C" in notes:
playsound('/Users/Keller/Downloads/mp3 Notes/c5.mp3')
else:
pass
if "d" or "D" in notes:
playsound('/Users/Keller/Downloads/mp3 Notes/d5.mp3')
else:
pass
if "e" or "E" in notes:
playsound('/Users/Keller/Downloads/mp3 Notes/e5.mp3')
else:
pass
if "f" or "F" in notes:
playsound('/Users/Keller/Downloads/mp3 Notes/f5.mp3')
else:
pass
if "g" or "G" in notes:
playsound('/Users/Keller/Downloads/mp3 Notes/g5.mp3')
else:
pass
Please excuse the gross cluster of if statements. My intention was to fix it once I got the code up and running. I realize now this is probably part of the problem.