$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #144

What goes in the blank?

# True when EVERY value is positive
ok = ____(v > 0 for v in nums)

Answer: all (also accepted: all, all())

all() is True only when every item is truthy.
Play Problem Solving ▸