MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-Python-Course / greater

Function greater

Chapter 13 - PS/05_problem5.py:5–8  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

3
4
5def greater(a, b):
6 if (a>b):
7 return a
8 return b
9
10print(reduce(greater, l))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected