how to have 2 loops going at a time in python code example Example: python multiple loops at once for i in range(10000): doTaskA() doTaskB()