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.
filter and lambda together look too confusing. Generator expressions would be much better here. Also, you don't need absolute value. Mod operation should work on negative numbers. Like this:
Beautiful Days at the Movies
You are viewing a single comment's thread. Return to all comments →
filter and lambda together look too confusing. Generator expressions would be much better here. Also, you don't need absolute value. Mod operation should work on negative numbers. Like this: