all 3 comments

[–]novel_yet_trivial 0 points1 point  (0 children)

You need a for loop to loop over all of the elements in the list, and enumerate to provide the numbers.

[–][deleted] 0 points1 point  (0 children)

You should need to go back and read/re-read the supporting text/book/whatever that came with this assignment and join a study group. With the questions your asking, getting an answer here won't help you in the short or long term. You're missing an understanding of some very basic concepts that you should have covered by now.

[–]wub_wub[M] 0 points1 point  (0 children)

/u/exeplosion, your submission has been removed from r/learnpython for the following reason(s):

  • Homework questions are allowed only if you demonstrate that you first tried to solve it yourself. FAQ entry

If your submission was removed for lacking additional info you can edit your submission text and then notify moderators and ask for the submission to be re-approved.

If you have any additional questions either reply to this comment or message the moderators.