LearnPy Hub
← Async Basics problems
Easy

Await Two in Order

Write async def double(x) returning 2x. In async def main(), await double(a) and double(b) one after the other and print their sum. Read a and b.

Input

Two integers.

Output

One integer.

Sample 1

Input
1
2
Output
6

Sample 2

Input
0
0
Output
0
solution.py
Output appears here
Await Two in Order · Python practice problem · LearnPy Hub