You are viewing a single comment's thread. Return to all comments →
def countApplesAndOranges(s, t, a, b, apples, oranges): print(len([fruit for fruit in apples if fruit + a in range(s, t + 1)])) print(len([fruit for fruit in oranges if fruit + b in range(s, t + 1)]))
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 →