JPMorganChase interview question

In Python, how does multithreading work?