1 class X: 2 x = 1 3 class Y: 4 y = "2" 5 class B: 6 b = 3.0 7 class C: 8 c = 4 9 class D(X): 10 y = True 11 a = X() and Y() or B() and not C() or D() 12 if a: 13 b = a.x and a.y or a.b and not a.c 14 c = a 15 else: 16 d = a 17 e = a