Having Problems with 12/18


#1

n = [3, 5, 7]

for i in range(0, len(n)):
print n[i]

So far i've started this and looked at others code but still couldn't find anything it says to get rid of the n which with other code i have indented and replaced with x but errors still occur a proper in form answer would be really helpful so i know how it works if anyone can put their all their code that would be really good Thanks :smile:


#2

Hi :smiley_cat:
This is my code :

n = [3, 5, 7]
def print_list(x):
for i in range(0, len(x)):
print x[i]
print print_list(n)

It worked for me :sunny:
Hope this works :smiley:


#3

Don't forget the indents on the third line
And you need to indent twice on the fourth :grin:


#4

So i' ve done taking out the rest of code and placing the one that you have stated now what comes up is an error like this Oops, try again. Your function caused the following error: maximum recursion depth exceeded while calling a Python object. I shall display my code i've followed the instructions to indent but goes to the error instead any problems??
def print_list(x):
for i in range(0, len(x)):
print x[i]
print print_list(n)
I have indented the code dont worry :smile:


#5

SOLVED i miss placed the indents and the position of the prints where in the wrong order many thanks for the help


#6

Glad to help. Tell me who helped more me or the other guy we are having a bit of a competition :grin:


#7

No problem, happy to help :smiley:


#8

I think both of you helped out alot :smiley:


#9

get over here anton :smile:


#10

Hi Sharkyyyyyyyyyyyyyyyyy


#11

Merry Christmas Guys
______________________ΒΆΒΆ
______________________ΒΆΒΆ
_____________________ΒΆΒΆΒΆΒΆ
_____________________ΒΆ__ΒΆ
_________________ΒΆΒΆΒΆ
___________________ΒΆΒΆ____ΒΆΒΆ
__________________ΒΆΒΆ______ΒΆ
_________________ΒΆΒΆΒΆΒΆ_____ΒΆΒΆ
________________ΒΆΒΆΒΆΒΆ__ΒΆΒΆΒΆ
___________________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
__________________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
_____________ΒΆΒΆΒΆ_____ΒΆΒΆΒΆΒΆ
_______________ΒΆΒΆ_____________ΒΆΒΆ
______________ΒΆΒΆ_______________ΒΆΒΆ
____________ΒΆΒΆΒΆ_______________ΒΆΒΆΒΆΒΆ
______________ΒΆΒΆΒΆΒΆΒΆ___________ΒΆΒΆ
______________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ__ΒΆΒΆ
____________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
______ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ__ΒΆΒΆΒΆΒΆΒΆ
____________ΒΆ_________ΒΆΒΆ__ΒΆΒΆ_______ΒΆΒΆ
_________ΒΆΒΆΒΆ________________________ΒΆΒΆΒΆ
_______ΒΆΒΆΒΆΒΆ__________________ΒΆΒΆΒΆΒΆ
____________ΒΆΒΆ__________________ΒΆΒΆΒΆΒΆΒΆ
______ΒΆΒΆΒΆ______ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
_________ΒΆΒΆΒΆΒΆΒΆΒΆ___ΒΆΒΆΒΆ__ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ_ΒΆΒΆ
__________ΒΆΒΆΒΆΒΆ____ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ__ΒΆΒΆ
_______ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ__ΒΆΒΆΒΆ_ΒΆΒΆ____ΒΆΒΆΒΆΒΆ
______ΒΆΒΆΒΆ__ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ__ΒΆ___________ΒΆΒΆΒΆ
______ΒΆΒΆΒΆΒΆ_____________ΒΆΒΆ_________________ΒΆΒΆΒΆ
_____ΒΆΒΆΒΆΒΆΒΆΒΆΒΆ_______________________________ΒΆΒΆΒΆΒΆΒΆ
_________ΒΆ_____________________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
_________ΒΆΒΆ__________________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ__ΒΆΒΆ
______ΒΆΒΆ___________________ΒΆΒΆΒΆΒΆΒΆ__ΒΆΒΆΒΆΒΆ
______ΒΆΒΆΒΆΒΆΒΆΒΆ_____ΒΆΒΆ__ΒΆΒΆΒΆΒΆΒΆ_ΒΆΒΆΒΆ_______ΒΆΒΆ
____ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ____ΒΆΒΆ__ΒΆΒΆΒΆΒΆΒΆ_ΒΆΒΆ__ΒΆΒΆ________ΒΆΒΆΒΆ
____ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ______________ΒΆΒΆΒΆ
_____ΒΆΒΆ____ΒΆΒΆΒΆΒΆΒΆ_ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ_____________ΒΆΒΆΒΆΒΆΒΆΒΆ
ΒΆΒΆ_____ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ__________________ΒΆΒΆ
__ΒΆΒΆΒΆΒΆΒΆΒΆΒΆ____________________________________ΒΆ
___ΒΆΒΆ_ΒΆΒΆΒΆ___________________________________ΒΆΒΆ
________ΒΆΒΆ______________________________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
_______ΒΆΒΆ____ΒΆΒΆ________________ΒΆ____ΒΆΒΆΒΆΒΆΒΆΒΆ
_ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ___________ΒΆΒΆΒΆΒΆΒΆ___ΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
____ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ_ΒΆΒΆΒΆ__ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
___________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ_ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ____ΒΆΒΆΒΆΒΆ
_________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ_ΒΆΒΆ
_____________________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ
_____________________ΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆΒΆ