Hint: Follow the principle of Top-Down Design and plot the Structure Chart for this program.
Your main program may look as follows:
def main(): printIntro() n = getInputs() count = simNIteration( n ) printSummary( count, n )