You are viewing a single comment's thread. Return to all comments →
print(sum((a + i) in range(s, t+1) for i in appleDistance)) print(sum((b + i) in range(s, t+1) for i in orangeDistance))
Apple and Orange
You are viewing a single comment's thread. Return to all comments →