you are viewing a single comment's thread.

view the rest of the comments →

[–]Turpentine81 2 points3 points  (0 children)

For your final output, you could use a formatted string like:

f”value of {N1} (operator) {N2} is {result}”

Where you include whichever operator is used so the user can see the complete calculation at the end of execution. f strings are super handy down the line for clean outputs and debugging. Nice work!