Coding task · Python course · Module 6: Async and FastAPI

First async function

Create an asynchronous function for observing Safari animals.

Task

Write an async function observe_animal that waits 1 second (asyncio.sleep) and returns the animal's name.