python code for user input : I'm creating an assignment for school
First create the pseudocode, etc
Then write a compare function that returns 1 if a > b , 0 if a == b , and -1 if a < b

I've written that part
def compare(a, b):
    return (a > b) - (a < b)


BUT then I have to prompt the user to input the numbers for comparison. I have no idea how to write the user input prompt. If anyone can help me that would be greatly appreciated!