You are viewing a single comment's thread. Return to all comments →
And to take it a step further, just do it in one line :-)
def solve(a0, a1, a2, b0, b1, b2):
return (a0>b0)+(a1>b1)+(a2>b2),(b0>a0)+(b1>a1)+(b2>a2)
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →
And to take it a step further, just do it in one line :-)
def solve(a0, a1, a2, b0, b1, b2):