n = [3, 5, 7]

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


why what? Please elaborate your question


whats wrong with the code?
seems to be correct...


if you have an indention error and post without markup/format its difficult to troubleshoot

the print should nested inside the for loop, so it should have more indent then for


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