Pergunta de entrevista da empresa JPMorganChase

In Python, how does multithreading work?