Python CodeHS Question
Hey guys! I’m currently writing a code that gives song suggestions if someone simply presses a key, but I’m stuck on how to use the list I made in my code, which is my_songs[ blah, blah, blah]. Can anybody please help me? Thank you!
One way to do this is to create a function which is called on key press the function can look like this:
Do you want a random item from the list?
Or just select them from the list, with their index number