+ 3
Is this app have any fb account that we message in case of problems i have a problem in making a calculator one error occurs
syntax error: invaled syntax
13 Answers
+ 3
Because white spaces in the beginning of every line is very important.
Compare to this
https://code.sololearn.com/cp9Ra4i9x0nx
+ 5
They have a discord server:
Server invite link: https://discord.gg/MEjFNcC
+ 5
There's a lot of errors.
You have white spaces on your variables
If statements and functions are all outside your while loop. Add few spaces on the beginning of every line.
Booleans starts with uppercase letter "while True:"
There's undefined variable "quite" on line 9. Remove that.
Sololearns compilers doesn't support multiple user inputs.
The most simplest calculator with only one user input
print(eval(input());
+ 5
hum... Jamaluddin Huseinkhail messaging sololearn through fb would not help since they are mostly inactive on that part.mail them and also if you shared the actual code it eould be better
+ 4
discord is the place :p lot of us there to help.
+ 4
num 1 = float(input("enter a number:")) what is the problem in here because it show the problem in here
+ 3
I think you verified your code, isn't it... Can you share it?
+ 3
You have space on your variable
num1 = float(input("enter a number:"))
+ 3
syntax error and it pointing to those last parantis
+ 3
ok thanks i will see if it works
+ 2
yes it works and i have one else problem
num2 = float(input(" enter another number :"))
error occurs and pointing to the number
+ 2
unexpected indent is the error
+ 2
ok thanks my problem solved