r/PythonLearning • • Aug 17 '25

What's wrong

Post image
49 Upvotes

45 comments sorted by

View all comments

1

u/CoonCoon999 Aug 18 '25

print(l[i]) since you're looping over list named l, and the index is 'i'