You are viewing a single comment's thread. Return to all comments →
reduce(lambda x,y: x if x>y else y, nums)
returns max element in nums list!
Check this link for more info
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
reduce(lambda x,y: x if x>y else y, nums)
returns max element in nums list!
Check this link for more info