prabhupant / python-ds

No non-sense and no BS repo for how data structure code should be in Python - simple and elegant.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New question : find number of ways to get given sum from "n" dice having "m" faces

imehar opened this issue · comments

Given n dices having m faces, find the number of ways to get a given sum X. X is the summation of values on each face when all the dice are thrown.