import asyncio async def my_coroutine(): print("协程开始执行") await asyncio.sleep(10) print("协程结束") return "协程结果" asyncio.run(my_coroutine())