a = int(input("Введите 1 число ")) b = int(input("Введите 2 число")) x = (input("Введите арифметический знак")) if x == '+': result = a+b elif x == '*': result = a * b else: print(" error ") result = None if result is not None: print("Результат:", result)