math expression to convert from string to int code example Example: convert math expression as string to int expression = '10 * 10' print(eval(expression))