This is a calculator made in Python using Tkinter.
- if
0
is the starting digit of the number entered, aSyntax Error
will be shown.- example:
052+8
will return aSyntax Error
.
- example:
- if there is a syntax error caused in an expression that contains an x² or √, and the user deletes the error with DEL, then a different syntax will show.
- for
2²
, it will become2** 2
- for
√(9)
, it will besqrt(9)
.
- for