So, I know how to convert basic strings into integers, but how does one convert a string of subtraction (or any other mathematical function)? This doesn't work:
str_a = '10-5'
b = 3
c = int(str_a) + b
ValueError: invalid literal for int() with base 10: '10-5'
So how can I make it to work? c must be equal to 8.