$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #210
What is the output?
print(any([]), all([]))
False False
True True
False True
True False
any needs at least one truthy item; all is vacuously true when there is nothing to fail.
Play Problem Solving ▸
◂ #209
all Problem Solving — predict the output questions
#211 ▸