# coding: utf-8

x = 0
y = 0 # TODO not compiled if y is not declared
if x==2 and y==1:
    x=3
    y=4

while x>2 and y<1:
    x=x-1
    y=4

if x>2 or y<=1:
    x=x-1
    y=y-1

while x>2 or y<1:
    x=1
    y=3

if True:
    x=5

if False:
    y=0

if x > 1:
    for i in range(0, 4):
        x = x + 1
        y = 3*x
else:
    x = 2 * x
    y = x + 4

x = 0
if x >= 1:
    x = x + 1
else:
    x = 2 * x

x = 0
if x < 1:
    x = x + 1
else:
    x = 2 * x

x = 0
if x==0:
    x = x + 1
else:
    x = 2 * x


x = 0
if x == 1 and x>2:
    x = x + 1
else:
    y = 2 * x

x = 0
if x <> 1:
    x = x + 1
else:
    y = 2 * x


x = 0
if x > 5:
    x = x + 5
    x = x - 5
elif x > 4:
    x = x + 4
    x = x - 4
elif x > 3:
    x = x + 3
    x = x - 3
else:
    x = 2 * x

# coding: utf-8

x = 0
y = 0 # TODO not compiled if y is not declared
if 1==0:
    x=4

if x==2 and y==1:
    x=3
    y=4

while x>2 and y<1:
    x=x-1
    y=4

if x>2 or y<=1:
    x=x-1
    y=y-1

while x>2 or y<1:
    x=1
    y=3

if True:
    x=5

if False:
    y=0

if x > 1:
    for i in range(0, 4):
        x = x + 1
        y = 3*x
else:
    x = 2 * x
    y = x + 4

x = 0
if x >= 1:
    x = x + 1
else:
    x = 2 * x

x = 0
if x < 1:
    x = x + 1
else:
    x = 2 * x

x = 0
if x==0:
    x = x + 1
else:
    x = 2 * x


x = 0
if x == 1 and x>2:
    x = x + 1
else:
    y = 2 * x

x = 0
if x <> 1:
    x = x + 1
else:
    y = 2 * x


x = 0
if x > 5:
    x = x + 5
    x = x - 5
elif x > 4:
    x = x + 4
    x = x - 4
elif x > 3:
    x = x + 3
    x = x - 3
else:
    x = 2 * x

add cases in ex3.py