Post

金蛋博士
金蛋博士@tonytong1990·
@PythonPr because any item in my_list is False ,so the bool(x) is False ,then any(list) return False answer is B
English
0
0
0
222
Reeti Patel
Reeti Patel@CraftWithReeti·
@PythonPr This code makes a list [False, False, False] and uses any() to check if at least one element is True. Since all elements are False, any(my_list) returns False, so the output is False.
Reeti Patel tweet media
English
1
0
1
21
Paylaş