Skip to content

Instantly share code, notes, and snippets.

@bee-san
Last active October 7, 2017 20:22
Show Gist options
  • Save bee-san/247baa0886c8d985fd44a8d721e1eff9 to your computer and use it in GitHub Desktop.
Save bee-san/247baa0886c8d985fd44a8d721e1eff9 to your computer and use it in GitHub Desktop.
a = input("") ; a = [int(x) for x in input().split()] ; H, B, L = [int(x) for i in a]
try:
L = float(input("Enter your length here: "));B = float(input("Enter your breadth here "));H = float(input("Enter height here "))
print((((2 * H) * (L + B) + (L * B) * 1.06 ) / (L*B)))
except:
while True:
print(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment