In Python, is there a way to test if a number is divisible by multiple numbers without writing out the modulo operation for each factor?
More specifically, is there
You could do something like this:
if all(i % n == 0 for n in range(11, 101)): print(i)