def rolldice(): """ Purpose: simulate rolling two 6-sided dice Parameters: none Returns: list with results of the roll """ d1 = randrange(1,7) d2 = randrange(1,7) return [d1,d2]