Domanda di colloquio di JPMorganChase

In Python, how does multithreading work?