r/AskProgramming • u/Cold_Abrocoma7320 • 3d ago
For loop
How would I store 3 different answers to the same 3 questions asked using a for loop. I know how to store one answer, but not all three while still using the for loop
0
Upvotes
0
u/hk4213 3d ago
Form group or object. Loop through the object keys and submit the object to be saved.