Is it possible to fulfill all iterations of the for loop at once in python? In the for loop I have operations that should be conducted simultaneously and they take a value f