1#will sleep the current corutien for set numner of seconds
2import asyncio
3await asyncio.sleep(1)
4
5
1import time
2
3start = time.time()
4print("sleeping...")
5time.sleep(0.5)
6print("woke up...")
7elapsed_time = time.time() - start
8
9print("elapsed time:", elapsed_time * 1000, "milliseconds")