11 ответов
+ 4
Equals in most programming languages is written like this:
==
+ 3
If you just want to calculate the hypotenuse:
https://code.sololearn.com/c1ZBoIe3iKQz/?ref=app
+ 2
a = int(input())
This is how you can get a numeric value from the user. But these are the very basics which are covered in the python lessons, so I really recommend that you start reviewing those first!
+ 2
Ok great, then I don't understand what you are trying to accomplish with the formula and what your actual question is. :) please post your code that is not working as intended, so we might understand better.
+ 1
Have you written this in another language?
(Seeing it might help me see what's your problem.)
+ 1
I know python very well, I know almost everything about it.. how to take input, define functions, constructors.... I am just having a problem with my Formula construction
+ 1
my bad, about what I quoted but I have worked with python alot and I am familiar with many things in python !!
0
I know that equals to is written like that but it isn't solving the formula
0
Tibor Santa How about if we have to take input from the user ? Then you have to provide the formula in the code. How about that ?
- 1
I'll post my code for your understanding !!