Advertisement
veronikaaa86

09. Fish Tank

Jul 2nd, 2023
920
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. length = int(input())
  2. width = int(input())
  3. height = int(input())
  4. percent_acc = float(input())
  5.  
  6. volume = length * width * height
  7. total_lt = volume / 1000
  8. acc_volume = total_lt * (percent_acc / 100)
  9. result = total_lt - acc_volume
  10.  
  11. print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement