Return True if all elements of the iterable are true : All : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » All »

 

Return True if all elements of the iterable are true


# Equivalent to:

# def all(iterable):
#    for element in iterable:
#        if not element:
#            return False
#    return True



print all(['A''', 'B'])



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» All