I added an option for the user to quit the calculator by entering '5'. I added input validation for division by zero to prevent runtime errors. I formatted the output messages for better readability. I used f-strings to format the output with variables. I improved the user prompt for the next calculation.
I added an option for the user to quit the calculator by entering '5'. I added input validation for division by zero to prevent runtime errors. I formatted the output messages for better readability. I used f-strings to format the output with variables. I improved the user prompt for the next calculation.