Anders and Briegel in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 8 година
12345678910
  1. NAMES = [" ", "i", "-", "-i"]
  2. class RightPhase(int):
  3. def __init__(self, phase):
  4. self.ph = phase % 4
  5. def get_name(self):
  6. return NAMES[self.ph]