Skip to content

Instantly share code, notes, and snippets.

@stahnni
stahnni / gist:a299973a7143afd6b269c7da183cec79
Created January 29, 2017 14:38
function that takes as input three variables
#Implement a function that takes as input three variables, and returns the
#largest of the three. Do this without using the Python max() function!
def max_of_three(a,b,c):
if a > b:
print a
elif a > c:
print a
else: