MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / biggest_odd

Function biggest_odd

Python/biggest-odd.py:8–10  ·  view source on GitHub ↗
(num_list)

Source from the content-addressed store, hash-verified

6
7
8def biggest_odd(num_list):
9 numbers = [int(x) for x in num_list ]
10 return max([ n for n in numbers if n % 2 != 0])
11
12
13

Callers 1

biggest-odd.pyFile · 0.85

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected