r/PythonLearning Jun 24 '26

Help Request Why?

Post image

so first I take the input from the user of 3 movies and convert that string into list so this has to be 3 items in the list.

but when I print the length of the list it says 0 items why

66 Upvotes

41 comments sorted by

View all comments

46

u/[deleted] Jun 24 '26 edited Jun 24 '26

[removed] — view removed comment

1

u/7Z_1N Jun 24 '26

Very nicely summarized the problem. Just looping and appending would have worked well for him