""" double_list.py write a function that returns twice each element of a list . """ def double_list(numbers): """ return a new list which is twice each number in numbers """ answer = [] for n in numbers: answer.append( 2 * n ) return answer def main(): the_list = [3, 7, 11] answer = double_list(the_list) print("the orgininal list is ", the_list) print("the new list is ", answer) main()