LearnPy Hub
← Async Basics problems
Medium

Time Limit

A coroutine sleeps for the given number of milliseconds and returns done. Wrap it in asyncio.wait_for(..., timeout=0.05); print the result or timeout.

Input

One integer (milliseconds).

Output

done or timeout.

Sample 1

Input
10
Output
done

Sample 2

Input
200
Output
timeout
solution.py
Output appears here
Time Limit · Python practice problem · LearnPy Hub