What is the best way to add up dice in python?
As a first project in python, I am having user input to tell me how many d4's, d6's, d8's, d10's, and d12's are being rolled, then finding the probability of each outcome. I later plan to graph the probabilities using matplotlib, but I am stuck trying to find the number of potential outcomes for each value. for-loops are a no go because the number of dice is not set. I have tried using lists with the values for each dice, but can't figure out how to generate names for variables. Any suggestions would be appreciated.