+ 2
why is this code not working? :(
hello there, if anyone knows python well, then plase help me with this question: i was tring to make a calculator which gives square of a number, addition of two numbers or subtraction of two numbers. but when i tried to output the square of a number, it throwed away an error. please tell why. It was answered correctly by "E ~ J" but now the confusion is how is the code working now :/ https://code.sololearn.com/ctbo2QZjfZsb/?ref=app https://code.sololearn.com/cl7WavjxuCLs/?ref=app https://code.sololearn.com/ciF7tKLgkZVM/?ref=app https://code.sololearn.com/ccqwRaYw7gLj/?ref=app
2 Respuestas
+ 4
It's your parenthesis on the second line. All open parenthesis require closing parenthesis. And try not to use them if you don't need it
+ 1
thnx E J, that really helped!