Define a function max() that takes two numbers as arguments and returns the largest of them. Use the if-else construct available in Python. (It is true that Python has the max() function built in, but writing it yourself is nevertheless a good exercise.)
def max(first, second): if first > second: return first else: return second def main(): biggest = max(4,6) print(biggest) if __name__ == '__main__': main()