numberofdice int(input('') set up dictionary to store the results of each dice roll results { for in range(numberofdice(numberofdice ) results[ simulate dice rolls print('simulating , , rolls of {dice format(numberofdice) lastprinttime time time( for in range( ) if time time(lastprinttime print('{}done format(round( )) lastprinttime time time( total for in range(numberofdice) total total random randint( results[totalresults[total display results print('total rolls percentage' for in range(numberofdice(numberofdice ) roll results[ percentage round(results[ print({{rolls {}%format(irollpercentage)after entering the source code and running it few timestry making experimental changes to it on your ownyou can also try to figure out how to do the followingtry rolling - - -or -sided dice try simulating two-sided coin tosses exploring the program try to find the answers to the following questions experiment with some modifications to the code and rerun the program to see what effect the changes have what happens if you change lastprinttime on line to lastprinttime what bug do you cause if you delete or comment out results[totalresults[total on line what error happens if the user types letters instead of number for the number of six-sided dice to roll project #