<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
So I was messing around with the code in Lesson 15. Counting as you go in the loops section (mostly to help me see what does what, and what certain changes will do). I found that if you remove the enumerate code and its associated variable it will still be accepted as correct. Anyways I just thought this was interesting and wanted to share.
I hope I’ve formatted my post properly and whatnot, this is my first post
choices = ['pizza', 'pasta', 'salad', 'nachos'] print 'Your choices are:' for index in choices: print index
I forgot to include the output that is given, normally it should enumerate the list items, and do so starting at 1 instead of 0, to be considered correct.
Your choices are: pizza pasta salad nachos None