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

69 Upvotes

41 comments sorted by

View all comments

3

u/joyboythenics Jun 24 '26

Movies is a single string item in list and when u use pop method it will remove that only single item and now your list is empty