I'm making a calculator on Python 3.4. The calculator will ask the user to enter a number. I want to restrict this so they can only enter a number (which I am fine about) or to press the 'C' key to clear the calculator. I seem to be getting stuck with allowing the C as well as any integer. Anyone suggest any way of going about this?
Thanks