+ 1
Could someone find the error in this? It would be really appreciated. It shows syntax error at the assignment operator
num1 =float(input('Enter number 1')) num2 =float(input('Enter number 2'))
13 Answers
+ 3
https://code.sololearn.com/cQpX4i13iQ67/#py
Here a simple calculator. You can do like this with function or only with while as you see in tutorial
+ 5
It seems fine to me
+ 5
I think it has to do with you needing 2 inputs instead of 1
+ 5
how can I build a calculator for Python
+ 4
What you have to do.
Enter number 1
ENTER
Enter number 2
So here, input can be:
3.15
4.51
+ 4
number1 = float(input('Enter number1'))
number2 = float(input('Enter number2'))
print(number1," ", number2)
Try like this
+ 3
how can I build a calculator for Python
+ 2
What do you want to do?
Post your code here so everybody see it
+ 2
Thanks bro
+ 1
Thanks bro
+ 1
Didn't work
+ 1
Didn't work either bro
+ 1
Build a calculator