79201092

Date: 2024-11-18 18:52:58
Score: 1
Natty:
Report link

Here is an example of code that can help you:

import asyncio

sync def coro_function():
        return 2 + 2

def async execute():
    async with asyncio.TaskGroup() as group:
         group.create_task(coro_function())
    
asyncio.run(execute())
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yablai Bougouyou