Step 7 – repeating more times
Running the program 10 times makes it a fairer test.
But 100 times would be better.
- Change your program to make it run 100 times
- You need to make three changes
- Run your program to check it works (Run > Run module)
Note that it takes some time to run! Python is having to do more work now
- Now change the program to run 1000 times
How many times did you get a match?
Running it 1000 times should make it a fairer test. You should get somewhere around 500 matches