[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I need help with making my claculator

On 20/05/2017 03:10, Chris Angelico wrote:
> On Sat, May 20, 2017 at 11:40 AM,  <gareths2017 at cardensv.com> wrote:
>> def calc(self, display):
>>     try:
>>         display.set(eval(display.get()))
>>     except:
>>         display.set("Type an actual equation please!")
> Without any specific questions, you're not going to get anything more
> than a basic eyeballing of the code.

Try running the program.

(I did that but I can't follow this style of coding so can't help.)