## Profile

Join date: May 16, 2022

Desiremovies Watch The The Desire Movie 720p Online Free Download The The Desire Movie 720p Srt In Pdf and. Want The The Desire Movie 720p Pdf? We Have The The Desire Movie 720p Pdf File! The The Desire Movie 720p. WatchDesire Movie Online Free Download. The Desire 2017 HD Hd. Desire Movie 2015 Hd 1080p. Desire 2017 Full Movie Online Free Download The.Q: Can I use result of "list" function as input parameter of another function? I was working on a small project about building a list of all prime numbers up to 1000. I defined a function that computes the largest prime number that has a smaller value than the input argument, returning the value as a result. I then wanted to compare it to all numbers from 2 to 1000. As you can see I'm using a list function to do that. Is there any way to reuse the result of the list function as input parameter of another function? Example: maxprime(3) --> 9 maxprime([2, 3, 11, 13, 17, 19, 23]) --> [2, 3, 11, 13, 17, 19, 23] maxprime([2, 3, 11, 13, 17, 19, 23]) == maxprime([2, 3, 11, 13, 17, 19, 23]) --> [True, True, True, True, True, True, True] list(maxprime(list([2, 3, 11, 13, 17, 19, 23]))) --> [9, 5, 3, 5, 3, 5, 5] list(maxprime(list([2, 3, 11, 13, 17, 19, 23]))) == list(maxprime(list([2, 3, 11, 13, 17, 19, 23]))) --> [True, True, True, True, True, True, True] I am using Python 3. A: Just return a new list as a result: def maxprime(n): return [max(list(range(2,n+1)), key=lambda x: n%x == 0)] And if you want to use it on an iterable of integers, the list is not needed: def maxprime(n): return [max