veronikaaa86

09. Fish Tank

Oct 30th, 2022
292
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.  
  8. total_lt = volume / 1000
  9.  
  10. acc_volume = total_lt * (percent_acc / 100)
  11. result = total_lt - acc_volume
  12.  
  13. print(result)
Add Comment
Please, Sign In to add comment