Question: 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
- 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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
