Python‎ > ‎map‎ > ‎

map.__ne__()


Definition
The method test whether the map(function, iterable) is not equal to value.

Syntax
map.__ne__()

Parameters
Function
iterable

Example
The determined that the maximum value of set is not equal to round(.99).
import math
tuple=(math.acos(1),math.asin(.22),math.cos(-1.1), math.atan(.99))
y=max(map(lambda a: a, tuple)).__ne__(round(1.1))
print(y)
>>> 
False
>>>


Comments