Codilime Interview Question

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