I have an input:
let b = String::from("1 2 4 5 6");
And my task is to return the exponential function of each value as a string as output:
let output = "2.718281828459045 7.38905609893065 54.598150033144236 148.4131591025766 403.4287934927351";
I have no idea how to solve this task. How to parse each value and use exp function and send string of the result?