Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created June 3, 2021 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/946d1a8b74a8d3547c6340e6f2f81c31 to your computer and use it in GitHub Desktop.
Save amankharwal/946d1a8b74a8d3547c6340e6f2f81c31 to your computer and use it in GitHub Desktop.
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