+ 3
What is wrong with these codes.i'be tried it several times
i'm trying to make a simple calculator https://code.sololearn.com/cmp5RaycCgvB/?ref=app https://code.sololearn.com/cpGxcpFFj4qb/?ref=app
4 Respostas
+ 6
They lack proper indentation. You have to construct proper logical blocks of code by indenting them by the same number of spaces.
+ 6
Ok, then:
- you should indent (put spaces) your code whenever you want to make a logical block out of it (a for loop, an if statement block or such)
- operation variable should be assigned a text string
- if statements should have a double equal sign == used - it is for comparing the two sides, while the single equal sign = is for assignments
Check it out:
https://code.sololearn.com/cNNR0IOxP5gA/?ref=app
+ 2
thank you kuba siekierzyński
- 1
I still don't get it kuba siekierzyński