Input: A list of numbers, [5, 10, 15, 20]
Rule: Multiply each number in the list by 2
Output: A new list with each number doubled, [10, 20, 30, 40]
Illustration:
Input: [5, 10, 15, 20]
Rule: Multiply by 2
Output: [10, 20, 30, 40]
identify and illustrate the following: Input; Rule,
Output
1 answer