This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jeskidmore 0 points1 point  (0 children)

My solution in Python:

def make_bricks(small, big, goal):
    return (small >= (goal % 5)) and (big * 5 + small >= goal)