#tab-width: 3 import sys import random random.seed() def rollNdMtC(N,M,C): def rollNdM(N,M): return [ def rolldM(M): return random.uniform(0,M)