Run program with different parameters and taking feedback

Hello, I had built a Tetris in pygame and integrated it successfully in pyschopy by changing the window stuff.
Now, what I was looking for is, after each round of play, the user will be given a feedback form on the level of difficulty and then another round will start with different blocks size. (The feedback and the next round are not connected in any way, I have predefined next rounds blocks)

So, how to make this happen using a loop. I really don’t have that much experience in pyschopy. I’m open to any other suggestions also. Any help is much appreciated by the community.