Advertisement
xxsa

Change Tiles 2

Oct 10th, 2023
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  14. print(f"{tiles}\n{time}")
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement