[x:y] syntax python code example
Example 1: x and y in python
x = 10
y = 12
# Output: x > y is False
print('x > y is',x>y)
# Output: x < y is True
print('x < y is',x<y)
# Output: x == y is False
print('x == y is',x==y)
# Output: x != y is True
print('x != y is',x!=y)
# Output: x >= y is False
print('x >= y is',x>=y)
# Output: x <= y is True
print('x <= y is',x<=y)
Example 2: x and y in python
x > y is False
x < y is True
x == y is False
x != y is True
x >= y is False
x <= y is True