27 Oct Aurora Saturday 16:30 Python Homework 20.10.24.
Continue to program the code so the back(<-) button and change sign(+/-) button can work:
when you click the back button, it will delete the last digit or decimal. However if there’s only one digit left and that digit is not 0, it will change into 0. check the calculator in your system to see how it works.
when you click the change sign button, you can add a minus sign at front if the number is not equal to zero. If there’s a minus sign in front of the digits, you can remove the minus sign by clicking the change sign button.