You are viewing a single comment's thread. Return to all comments →
c = list(filter(lambda x: x==True, map(lambda x: a+x in range(s,t+1),apples))) d = list(filter(lambda x: x==True, map(lambda x: b+x in range(s,t+1),oranges))) print(str(len(c))+"\n"+str(len(d)))
Is this code worthy?
Seems like cookies are disabled on this browser, please enable them to open this website
Apple and Orange
You are viewing a single comment's thread. Return to all comments →
Is this code worthy?