1. Engineering
  2. Computer Science
  3. python write an anonymous function that finds multiples of 7...

Question: python write an anonymous function that finds multiples of 7...

Question details
  • python
  • write an anonymous function that finds multiples of 7
  • write a different anonymous function that returns the greater of two numbers
  • use your two anonymous functions with  filter( ) and reduce( ) to find the greatest multiple of 7 in this list: [234, 55, 40, 100, 450, 335, 308, 693, 333, 405, 303, 109, 321, 565, 891]
  • print the final value
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution