how to make the tow loops run on the same time in python code example Example: python multiple loops at once for i in range(10000): doTaskA() doTaskB()