How I can store the result of a for loop? How to creat a json file inside of a loop? In this loop in each iterate I am printing 2 values print(a1,a2). now I want to store al