Question: hello i currently have the code on the left, i am wondering if there is away to alter my current code to instead get the


hello i currently have the code on the left, i am wondering if there is away to alter my current code to instead get the output of the second picture. some tips would be nice or guidance on how to get there.
Transcribed image text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
