We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
defsolve(a0,a1,a2,b0,b1,b2):## Write your code here.#a=[a0,a1,a2]b=[b0,b1,b2]alice=[xforxinlist(map(lambdax,y:x>y,a,b))ifx==True]bob=[xforxinlist(map(lambdax,y:x>y,b,a))ifx==True]returnlen(alice),len(bob)
Cookie support is required to access HackerRank
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 →
Facepalm myself when i saw your answer...