Created
October 18, 2022 07:00
-
-
Save RaMSFT/a27111b6f582f091580d0fc0f44362bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def how_many_walls(paint_area, width, height): | |
area_of_wall = width * height | |
times = paint_area // area_of_wall | |
return times | |
print(how_many_walls(100, 4, 6)) | |
print(how_many_walls(100, 4, 5)) | |
print(how_many_walls(10, 15, 12)) | |
print(how_many_walls(41, 3, 6)) | |
print(how_many_walls(1000, 42, 16)) | |
print(how_many_walls(1230, 47, 6)) | |
print(how_many_walls(1003, 4, 67)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment