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.

12 lines
204B

  1. NAMES = [" ", "i", "-", "-i"]
  2. class RightPhase(int):
  3. def __new__(cls, value):
  4. return super(TestClass, cls).__new__(cls, value % 4)
  5. a = TestClass(2)
  6. b = TestClass(5)
  7. print a, b
  8. print a+b+b