pyassistant

Multiply List Elements by 2

Given a list of integers, return a new list where each element in the original list is multiplied by 2.

Example:

Input:
[3, 5, 7, 2]
Output:
[6, 10, 14, 4]

Make sure you return your solution, don't print!

AI

Bot

Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.