def evens(list): '''This function will take a list into the "list" parameter and write a new list that has all the members of even index in the original list''' new_list = [] key = 0 for u in list: if (key%2 == 0): new_list.append(u) key = key + 1 print key else: pass return new_list