Odpowiedź :
x = input("co chcesz zrobić? (+ -: ")
if x == "+":print(int(input("podaj liczbe: ")) + int(input("podaj liczbe: ")))
elif x == "-":print(int(input("podaj liczbe: ")) - int(input("podaj liczbe: ")))
else: print("nieznany input!")
print(eval(input("podaj działanie >> ")))
wpisujesz np "5+5" i działa. Działa tez na mnozenie dzielenia itp