Как создать небольшой консольный калькулятор в Python, что бы считывал значения с клавиатуры?

Хочу попрактиковаться, это взял бы как пример

Вот как пример калькулятор, вся реализация калькулятора прописана в отдельной функции, смотри, тестируй)

def calculator(x,y,operation):
if operation == " ":
 result = x   y
elif operation == "-":
 result = x - y
elif operation == "*":
 result = x * y
elif operation == "/":
 result = x /y
else:
 print("Unsupportet operation")
if result is not None:
 print("Result: ", result)

x = int(input("First number: "))
y = int(input("Second number: "))
operation = input("Operation: ")
calculator(x,y,operation)