if_else conditions replacing values

jak123, it might be helpful to know how to properly format code and console output that you post here.
Using proper code formatting makes the site easier to read, prevents confusion (unformatted code can get garbled by the forum software :anguished:).

Check out this FAQ to find out how — it's as easy as the click of a button! :grinning::