from random import randint class Rnd: def randint(self, maxint): return randint(1, maxint)