← Problem book: Python
Lesson 72 of 96 · 10 XP
Double each
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
The first line contains the count of numbers n (1 ≤ n ≤ 100), the second — the n integers themselves, separated by spaces.
Print each number multiplied by 2, separated by spaces.
Example
Input:
3
1 2 3
Output:
2 4 6
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.