Contact: aviboots(AT)netvision.net.il
39,971 questions
51,913 answers
573 users
class Test: php = 1 c = 2 python = 3 def __index__(self): return self.php + self.c + self.python # + + print(bin(Test())) ''' run: 0b110 '''
class Test: php = 1 c = 2 python = 3 def __index__(self): return self.c - self.php + self.python # - + print(bin(Test())) ''' run: 0b100 '''
class Test: php = 1 c = 2 python = 3 def __index__(self): return self.c - self.php + self.python # - + print(bin(Test().python)) ''' run: 0b11 '''