Stuck on 14 Counting as you go


#1



#2

i don't know what i have done wrong


#3

You seem to be over thinking a little. here is the easiest way to pass:

choices = ['pizza', 'pasta', 'salad', 'nachos']

print 'Your choices are:'
for index, item in enumerate(choices):
print index + 1, item


#4

This is what worked for me:

choices = ['pizza', 'pasta', 'salad', 'nachos']

print 'Your choices are:'
for index, item in enumerate(choices):
****print index+1, item


#5

You shouldn't just post the answer try helping him understand what he did wrong and where he got the error.:slight_smile:


#6

You shouldn't just post the answer try helping him understand what he did wrong and where he got the error.:slight_smile: :grin:


#7

oh ok that won't happen agn


#8

Haha no problem mahn we live we learn. :wink:


#9

Your method is actually quite advanced and functions its just not passable for that lessons SCT (Submission Correctness Test).

But well written seeing as it prints the lists items. :slight_smile: