[solved] – Question 80246
What is the value of pairs after the following assignment?
pairs = [ (x,y) for x in range(4) for y in range(3) if (x+y)%3 == 0 ]
Expert Answer
OR
What is the value of pairs after the following assignment?
pairs = [ (x,y) for x in range(4) for y in range(3) if (x+y)%3 == 0 ]
OR