I wrote a little program to roll any number of any sized dice, add any pluses, and print out the result.

Am I able to print out what the formula looks like filled in, so I can make sure the math is right?

‘’’

#import module

import random

#variables

x = int(input(“What size dice?”))

y = int(input(“How many?”))

z = int(input(“Bonuses?”))

num = (random.randint(1,(y * x) + z))

print(num)

‘’’