Skip to content

Instantly share code, notes, and snippets.

View Onehand-Coding's full-sized avatar

Phoenix_471536 Onehand-Coding

  • Philippines
  • 08:14 (UTC +08:00)
View GitHub Profile
from random import randint, choice
from abc import ABC, abstractmethod
class CorruptOfficial(ABC):
def __init__(self, name, position):
self.name, self.position, self.wealth, self.stolen_taxes = name, position, 0, 0
@abstractmethod
def steal_money(self, amount): pass
class CongressOfficial(CorruptOfficial):