You are viewing a single comment's thread. Return to all comments →
I think this would a one liner.
return sum(list(map(lambda x,y: x > y, a,b))), sum(list(map(lambda x,y: x < y, a,b)))
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 →
I think this would a one liner.