I wrote this calculator app today and for some reason this just doesn’t work.
when I use -, /, and * it gives a syntax error and when I use the + it doesn’t treat the numbers as numbers but rather adds them together like a string.
btw this code worked just fine with python 3.9 but has problems like this with python 3.11
could anyone help with this please?
I have tried maybe editing or something but no luck yet
>Solution :
looking at the image you attached I see the problem, you need to change the following lines of code
From this
Number_one = input(int())
Number_two = input(int())
To this
Number_one = int(input())
Number_two = int(input())