You are viewing a single comment's thread. Return to all comments →
more pythonic
print(sum([1 for each in apple if s <= (each + a) <=t])) print(sum([1 for each in orange if s <= (each + b) <=t]))
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 →
more pythonic