all |
| all(iterable) |
Returns True if all elements of the iterable are true (built-in). |
| iterable | The title that appears in the title bar of the application (String). |
| REMARKS |
| * This is a built-in function. * Return True if the iterable is empty. * If "wait" = 1, then the calling application waits until it has the focus before activating the specific application. * If "wait" = True, then 1 is used. * This subroutine cannot change whether the application or window is maximised or minimised, it only changes focus. * You can use the Shell function to change the status of the window (maximised or minimised). * For the Official documentation refer to python.org |
def all(iterable):
for element in iterable:
if not element:
return False
return True
mylist = []
print(all(mylist)) #= True
mylist = [1, 3, 4, 5]
print(all(mylist)) #= True
mylist = [0, False]
print(all(mylist)) #= False
mylist = [1, 3, 4, 0]
print(all(mylist)) #= False
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top