Menu

[solved] – Question 93273

What is the value of pairs after the following assignment?
pairs = [ (x,y) for x in range(3,0,-1) for y in range(2,0,-1) if (x+y)%3 == 0 ]

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *