Write a function compare that prints the value 1 if $$a > b$$, the value 0 if $$a = b$$, and the value -1 if $$a < b$$. Fill out the body of the function below, so that your implementation survives the doctest.
def compare(a, b):
"""
>>> compare(5, 4)
1
>>> compare(7, 7)
0
>>> compare(2, 3)
-1
>>> compare(42, 1)
1
"""