I am trying to replace the "input" with a variable based on user input (function_name). Tried using .replace but list does not allow that. Any other way to go about re