1# test if conditions which are optimised by the compiler
2
3if 0:
4    print(5)
5else:
6    print(6)
7
8if 1:
9    print(7)
10
11if 2:
12    print(8)
13
14if -1:
15    print(9)
16elif 1:
17    print(10)
18
19if 0:
20    print(11)
21else:
22    print(12)
23
24if 0:
25    print(13)
26elif 1:
27    print(14)
28
29if 0:
30    print(15)
31elif 0:
32    print(16)
33else:
34    print(17)
35
36if not False:
37    print('a')
38
39if not True:
40    print('a')
41else:
42    print('b')
43
44if False:
45    print('a')
46else:
47    print('b')
48
49if True:
50    print('a')
51
52if (1,):
53    print('a')
54
55if not (1,):
56    print('a')
57else:
58    print('b')
59
60f2 = 0
61
62def f(t1, t2, f1):
63    if False:
64        print(1)
65    if True:
66        print(1)
67    if ():
68        print(1)
69    if (1,):
70        print(1)
71    if (1, 2):
72        print(1)
73    if t1 and t2:
74        print(1)
75    if (t1 and t2): # parsed differently to above
76        print(1)
77    if not (t1 and f1):
78        print(1)
79    if t1 or t2:
80        print(1)
81    if (t1 or t2): # parse differently to above
82        print(1)
83    if f1 or t1:
84        print(1)
85    if not (f1 or f2):
86        print(1)
87    if t1 and f1 or t1 and t2:
88        print(1)
89    if (f1 or t1) and (f2 or t2):
90        print(1)
91
92f(True, 1, False)
93