---- define a function ----

----check your expectations----

this is a function which take all the elements of an array and multiply them by 2, withouth modifying the original array

def double(sequence): result = [] for element in sequence: result = result + [element*2] return result

---------- FREE PROJECT 5-1 ----------