Advertisement
Spocoman

Change Tiles

Oct 10th, 2023
1,053
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. area_side = int(input())
  2. tile_width = float(input())
  3. tile_length = float(input())
  4. bench_width = int(input())
  5. bench_length = int(input())
  6.  
  7. area = area_side * area_side - bench_length * bench_width
  8. tile_area = tile_width * tile_length
  9. tiles = area / tile_area
  10. time = tiles * 0.2
  11.  
  12. print(f"{tiles}\n{time}")
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement