Easy
Add Up Results From gather()
Write
async def value(x) that returns x after a tiny sleep. Read integers, gather value() for all of them and print the sum of the results.Input
Integers separated by spaces.
Output
One integer.
Sample 1
Input
1 2 3
Output
6
Sample 2
Input
10
Output
10
Output appears here