Pergunta de entrevista da empresa Codilime

Explain how sync and assync works on Python and write a code using both cases.