Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Jun 3, 2021
Embed
What would you like to do?
def greatest(x,y,z):
if (x>y)and(x>z):
print(x,"is greatest")
elif (y>x)and (y>z):
print(y,"is greatest")
else:
print(z,"is greatest")
greatest(43, 78, 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment