mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2025-02-25 17:38:38 +00:00
6 lines
154 B
Python
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)
|