e le 404 2 Write a function named get_max_multiple_of_3(numbers) which takes a list of integers as a parameter and retur
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
e le 404 2 Write a function named get_max_multiple_of_3(numbers) which takes a list of integers as a parameter and retur
e le 404 2 Write a function named get_max_multiple_of_3(numbers) which takes a list of integers as a parameter and returns the largest multiple of 3 in the list. The function should return Oif there are no multiples of 3 in the list or the list is empty. For example: Finish attempt Test Result 9 8 numbers [1, 4, 5, 9, -2, -10] print(get_max_multiple_of_3(numbers)) numbers = [2,1,4,5) print(get_max_multiple_of_3(numbers)) numbers [1, -3, 5) print (get_max_multiple_of_3(numbers)) -3 5 10 15 20 25 30 35.40.45, 50 %)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!