Subujunior's repositories
subujunior
Config files for my GitHub profile.
Slot-pragmatic
import random class SlotMachine: def __init__(self): self.symbols = ['Cherry', 'Bell', 'Bar', 'Seven', 'Diamond'] def pull_lever(self): return [random.choice(self.symbols) for _ in range(3)] # Test the Slot Machine slot = SlotMachine() result = slot.pull_lever() print(result)
000