+ 2

How can I solve (u=mgh) for g=9.8?

I should write this in python.

25th Oct 2017, 2:07 PM
alireza eshaghian
alireza eshaghian - avatar
1 Answer
+ 3
You need also value for m and h If you know values, just use this. m = float(input()) g = 9.8 h = float(input()) u = ((lambda x,y,z: x*y*z)(m,g,h)) print(u)
25th Oct 2017, 3:06 PM
Ferhat Sevim
Ferhat Sevim - avatar