title: Making a piece of code that loops 5 times and stores the information that it generates each individual time into separate variables
body: <p>I'm an absolute beginner at coding in and I'm trying to make some code that runs 5 times, and for each time it runs, places what it generates into 5 different variables for me to compare later, so far I have this, it's code that when run tosses a coin 1000 times and keeps track of the amount of heads and tails it produces, is there any way that I can have it loop 5 times, and store the count in different variables each time, i.e first time it loops it will store the first amount of heads into countH and the second into one called countH2 or would I have to try and make it a different way? Any help is appreciated.</p>
  <p>Question now solved, thanks</p>