Easy
Sum With a Generator Expression
Read integers and print the sum of their doubles using
sum(x * 2 for x in nums).Input
Integers separated by spaces.
Output
One integer.
Sample 1
Input
1 2 3
Output
12
Sample 2
Input
10
Output
20
Output appears here