a=Decimal(1).radix() b=(Decimal('20')) x=operator.gt(a,b) print("The value of a is greater than b: ", x) >>> The value of a is greater than b: False >>>
The return is:
from decimal import Decimal import operator
a=Decimal(1).radix() b=Decimal(1.3).next_toward(2) y=operator.lt(a,b) print("The value a lesser than b: ", y) >>> The value a lesser than b: False >>>