map.__ge__()


Definition
The method returns whether the map(function, iterable) is greater or equal to value.

Syntax
map.__ge__()

Parameters
function, and iterable

Examples
if min(map(lambda(decimal,decimal)).__ge__()
The method returns with the minimum value in the sets equation set1/set2*set2 is greater than 4. 
from decimal import*
set1={Decimal(-1355).adjusted(),Decimal(-233.321).copy_negate(), Decimal(-23.99).exp()}
set2={ Decimal(2.0).fma(3,7),Decimal(1.1).log10()}
if min(map(lambda a,b: a/b*b, set1, set2)).__ge__(4):
        print("Return is greater than 2.")
else:
        print("Not within parameters.")

>>> 
Not within parameters.
>>>       

Comments