#!/usr/bin/env python3

''' operators '''

''' arithmetic '''

x = 2
y = 3

print('x = 2')
print('y = 3')
print()

print('addition')
print('x + y')
print(x + y)
print()

print('substraction')
print('x - y')
print(x - y)
print()

print('multiplication')
print('x * y')
print(x * y)
print()

print('division')
print('x / y')
print(x / y)
print()

print('reassignment to the same variable')
print('x = x + 2')
x = x + 2
print(x)
print()

print('reassignment to the same variable with +=')
print('x += 2')
x += 2
print(x)
print()

print('reassignment to the same variable with -=')
print('x -= 2')
x -= 2
print(x)
print()

print('reassignment to the same variable with *=')
print('x *= 2')
x *= 2
print(x)
print()

print('reassignment to the same variable with /=')
print('x /= 2')
x /= 2
print(x)
print()

''' assignment '''

a, b = 5, 6
print('a, b = 5, 6')
print('print(a)')
print(a)
print('print(b)')
print(b)
print()

''' unary '''

print('sign -')
print('a')
print(a)
print('-a')
print(-a)
print('a = -a')
a = -a
print('a')
print(a)
print()

''' relational '''

print('a less than b')
print('a < b')
print(a < b)
print()

print('a less than or equals to b')
print('a <= b')
print(a <= b)
print()

print('a equals to b')
print('a == b')
print(a == b)
print()

print('a bigger than b')
print('a > b')
print(a > b)
print()

print('a bigger than or equals to b')
print('a >= b')
print(a >= b)
print()

print('a different to b')
print('a != b')
print(a != b)
print()

''' logical '''

print('a < b')
print(a < b)
print()
print('b < a')
print(b < a)
print()

print('and operator')
print('a < b and b < a')
print(a < b and b < a)
print()

print('or operator')
print('a < b or b < a')
print(a < b or b < a)
print()

print('not operator')
print('a < b')
print(a < b)
print()
print('not(a < b)')
print(not(a < b))
print()


