def random_cube(self):
    scramble = {(0): self.up_turn, (1): self.down_turn, (2): self.left_turn,
        (3): self.right_turn, (4): self.front_turn, (5): self.back_turn, (6
        ): self.up_turn, (7): self.down_turn, (8): self.left_turn, (9):
        self.right_turn, (10): self.front_turn, (11): self.back_turn}
Using Dictionaries in Python in place of Case/Switch statement