Awesome-Python-Scripts/Depth_of_lake.py
2020-10-07 20:03:12 +05:30

6 lines
154 B
Python

H = float(input("Enter the value of H : "))
L = float(input("Enter the value of L : "))
x = ((L*L) - (H*H)) / (2*H)
print("Depth of lake at A is : ", x)