Daily Challenge (159 Part Series)
Mr. Square is going on holiday. He wants to bring 2 of his favorite squares with him, so he put them in his rectangle suitcase.
Write a function that, given the size of the squares and the suitcase, return whether the squares can fit inside the suitcase.
a,b are the sizes of the squares
m,n are the sizes of the suitcase
fit_in(1,2,3,2) should return True
fit_in(1,2,2,1) should return False
fit_in(3,2,3,2) should return False
fit_in(1,2,1,2) should return False
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!