adding Depth_of_lake.py

This commit is contained in:
SubhalakshmiK 2020-10-07 20:03:12 +05:30
parent 11501c5292
commit cdc209fda6

6
Depth_of_lake.py Normal file
View File

@ -0,0 +1,6 @@
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)