Anders and Briegel in Python
25개 이상의 토픽을 선택하실 수 없습니다. 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