I have been looking for methods for using the value from a str input, where some of the values (of the str) are keys to a dictionary i have. And then calulate with the value