mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-12-18 08:10:17 +00:00
adding Depth_of_lake.py
This commit is contained in:
parent
11501c5292
commit
cdc209fda6
6
Depth_of_lake.py
Normal file
6
Depth_of_lake.py
Normal 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)
|
Loading…
Reference in New Issue
Block a user