In the List and Functions quiz there's a question:
Replace the line in the function so that the functions prints every other list item.
def print_list(x): for counter in ________________: print x[counter]
With the following options:
range(0, x ,2)
range(1, len(x), -2)
With the right one being the last, range(0, len(x),2).
I have no idea why though, can someone explain?