Why does this print all Notes, not just notes 1,3,6,8 and 10?
Notes = ["C",["Db","C#"],"D",["Eb","D#"],"E","F",["Gb","F#"],"G",["Ab","G#"],"A",["Bb","A#"],"B"]
for noteNumb in range (0,len(Notes)):
if noteNumb == 1 or 3 or 6 or 8 or 10:
print(noteNumb)
Aucun commentaire:
Enregistrer un commentaire