How to store values from loop in python?

N=int(input(“ENTER THE NUMBER OF TEST CASES :”))
for A in range(N):
num=int(input(“ENTER THE NUMBER :”))

in this above code, we can enter n number of test cases. but if I want those test case values to be stored individually and reuse it later in the code. How can I do that? please help me.

You can do something like this:

Capture

THANK YOU Mr. thesmartguy It really helped me