Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/The-Ultimate-Python-Course
/ greatest
Function
greatest
Chapter 8 - PS/01_problem1.py:1–7 ·
view source on GitHub ↗
(a, b, c)
Source
from the content-addressed store, hash-verified
1
def
greatest(a, b, c):
2
if
(a>b and a>c):
3
return
a
4
elif
(b>a and b>c):
5
return
b
6
elif
(c>b and c>a):
7
return
c
8
9
a = 1
10
b = 23
Callers
1
01_problem1.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected