r/pythonhelp • • Aug 02 '20

Title.fuction? HELP PLEASE

Post image
3 Upvotes

19 comments sorted by

View all comments

1

u/NamasteWager Aug 02 '20

What exactly are you trying to do?

1

u/TheDevine13 Aug 02 '20

Just trying to add the title function and it errors and I have no idea why

1

u/NamasteWager Aug 02 '20

Oh I see now. You are calling it against the entire list, not against a string. Try music[0].title()

If you want to print the whole list, you will have to write a loop to do so

1

u/TheDevine13 Aug 02 '20

I'll try that!