LearnPy Hub
← Async Basics problems
Easy

Return a Square

Write async def square(x) that returns x². Read an integer and print asyncio.run(square(n)).

Input

One integer.

Output

One integer.

Sample 1

Input
5
Output
25

Sample 2

Input
0
Output
0
solution.py
Output appears here
Return a Square · Python practice problem · LearnPy Hub