Double up each number in the List.
Given a list of numbers, return the List with all the numbers multiplied by 2.
Sample Code:
def timesTwo(arr):
# Enter your logic here...
Examples:
Input: [1,2,3]
Output: [2,4,6]
Explanation: All the numbers have been multiplied by 2.
Input: [1,0,1,0]
Output: [2,0,2,0]
Explanation: All the numbers have been multiplied by 2.