Can't Solve my own problem


#1

n = [3, 5, 7]

def print_list(x):
for i in range(0, len(x)):
print x[i]
print print_list(n)
whats wrong with my code?


#2

Since you are already printing the elements in the method there is no need to pass the method call to print as an argument. that is you can just call it like this

print_list(n)