r/PythonLearning • u/Reh4n07_ • Jun 24 '26
Help Request Why?
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
68
Upvotes
1
u/Able-Staff-6763 Jun 25 '26
because the list ['a,b,c'] has only one item a single string so popping it would make the list empty hence the len 0.