when you run diceroller pythe output will look like thisdice rollerby al sweigart al@inventwithpython com --snip- ( + ( + - ( - ( --snip-how it works most of the code in this program is dedicated to ensuring that the input the user entered is properly formatted the actual random dice rolls themselves are simple calls to random randint(this function has no biaseach integer in the range passed to it is equally likely to be returned this makes random randint(ideal for simulating dice rolls """dice rollerby al sweigart al@inventwithpython com simulates dice rolls using the dungeons dragons dice roll notation view this code at tagsshortsimulation"" import randomsys print('''dice rollerby al sweigart al@inventwithpython com enter what kind and how many dice to roll the format is the number of dicefollowed by " "followed by the number of sides the dice have you can also add plus or minus adjustment examples rolls three -sided dice + rolls one -sided dieand adds - rolls two -sided dieand subtracts quit quits the program ''' while truemain program loop try dicestr input(''the prompt to enter the dice string if dicestr upper(='quit' print('thanks for playing!' sys exit( project #