May-07-2022, 06:17 AM
Why do you think the expression
i % primenumbers
makes sense when primenumbers
is a list? a % b
means "give me the remainder when dividing a by b" and division is done with single numbers, not lists of numbers.