<reponame>oneoffcoder/books<filename>sphinx/python-intro/source/code/oneoffcoder/operator/relational.py
num1 = 4
num2 = 2

# equality
a = num1 == num2

# non-equality
b = num1 != num2

# greater than
c = num1 > num2

# less than
d = num1 < num2

# greater than or equal
e = num1 >= num2

# less than or equal
f = num1 <= num2
num1 = 4
num2 = 2

# equality
a = num1 == num2

# non-equality
b = num1 != num2

# greater than
c = num1 > num2

# less than
d = num1 < num2

# greater than or equal
e = num1 >= num2

# less than or equal
f = num1 <= num2
# equality # non-equality # greater than # less than # greater than or equal # less than or equal