0

Now this may sound confusing, but here is what I have to say. I have a simple Tkinter calculator which runs smoothly, but say for example when you enter something into the entry and the first entry is a 0 you can continue typing and clog your entry up with instances like 05 + 2, etc., which are incorrect on a math level. How can you stop this so 0 can only be followed by a decimal point or replaced by other numbers being pressed? So far just theory and need ideas to get this into code.

Douglas
  • 1,304
  • 10
  • 26

0 Answers0