j
k
j a
j l
Matt D wrote:
In your comprehension example, I'm fairly certain the filtering should be on the post incremented remainder [ x+1 for x in [1,2,3] if (x+1) % 2 == 0]
how about [ sum for num in [1,2,3] if ((sum := num + 1) %2 == 0]
Back to the thread
Back to the list