+ 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

23rd Apr 2018, 7:21 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar
13 Antworten
+ 3
Because white spaces in the beginning of every line is very important. Compare to this https://code.sololearn.com/cp9Ra4i9x0nx
23rd Apr 2018, 8:09 PM
Toni Isotalo
Toni Isotalo - avatar
+ 5
They have a discord server: Server invite link: https://discord.gg/MEjFNcC
23rd Apr 2018, 7:24 PM
Jax
Jax - avatar
+ 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());
23rd Apr 2018, 7:35 PM
Toni Isotalo
Toni Isotalo - avatar
+ 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
23rd Apr 2018, 7:53 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 4
discord is the place :p lot of us there to help.
23rd Apr 2018, 7:26 PM
Markus Kaleton
Markus Kaleton - avatar
+ 4
num 1 = float(input("enter a number:")) what is the problem in here because it show the problem in here
23rd Apr 2018, 7:47 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar
+ 3
I think you verified your code, isn't it... Can you share it?
23rd Apr 2018, 7:22 PM
jerome
+ 3
You have space on your variable num1 = float(input("enter a number:"))
23rd Apr 2018, 7:47 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
syntax error and it pointing to those last parantis
23rd Apr 2018, 7:50 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar
+ 3
ok thanks i will see if it works
23rd Apr 2018, 7:54 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar
+ 2
yes it works and i have one else problem num2 = float(input(" enter another number :")) error occurs and pointing to the number
23rd Apr 2018, 8:01 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar
+ 2
unexpected indent is the error
23rd Apr 2018, 8:02 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar
+ 2
ok thanks my problem solved
23rd Apr 2018, 8:16 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar