12/18. what am i doing wrong?


#1

what am i doing wrong??

PLEASE HELP!!!!!!!!!!!!


#2

never mind! i've got it! here's the code for anyone who is stuck:

n = [3, 5, 7]

def print_list(x):
for i in range(0, len(x)):
print x[i]

print_list(n)


#3

on line 7, in range() you use o instead of 0

you could have used the loop provided and add a function around it

also, a function call is missing, add the function call.


#4

i know - now. thank you though stetim94


#5

oh, you already solved it. I didn't see, i was focussed on typing my answer, even better if you solve it yourself :slight_smile:


#6

it's fine, at least other people can see what i did wrong - and how it could be fixed. i've done that to! :slight_smile::joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy:


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.