Skip to content

Instantly share code, notes, and snippets.

@evanwike
Created August 29, 2016 23:07
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 evanwike/631597d23a7a5f16adf0b5ef69f571d6 to your computer and use it in GitHub Desktop.
Save evanwike/631597d23a7a5f16adf0b5ef69f571d6 to your computer and use it in GitHub Desktop.
def maxofthree(x,y,z):
if x > y and x > z:
return x
elif y > x and y > z:
return y
elif z > x and z > y:
return z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment