• # Use Laws of Complexity While Trying To Place Desks Into Square

Hello, checkiomates🐱‍👤!

For your attention is a challenging mission about placing desks in a correct square table and an interesting article about laws of complexity in software development and other fields (I guess).

💡TIP

We allow users to assign hotkeys to "Run Code", "Check Solution" and stop code. You may see current combinations on buttons and change them in editor menu. If you want to discover all CheckiO features, visit our tutorial. It's a longread, but it's worth it!

🏁MISSION

You must combine several long desks to make a square conference table of the specified size.

• The input values are the widths of the long desks (tuples of integer) and the side length of the table (integer). The long desks have any width and their depth is always 1.

• The answer is the combinations of long desks that make the four sides of the table. It must be a list of 4 tuples, each tuple being one or more integers. The adjacent tuples in the resulting list to actually represent adjacent sides of the table.

```checker(square_conference_table, (1, 2, 2, 3, 4), 4) is True
checker(square_conference_table, (3, 3, 3, 3), 4) is True
checker(square_conference_table, (1, 2, 2, 3, 3, 4, 5), 5) is True```

📖ARTICLE

The author posits that most software engineers (particularly those working on infrastructural systems) are destined to wallow in unnecessary complexity due to following three fundamental laws. I guess, that these laws are suitable not only for software development and maintaining, but also for other society fields.

👩‍💻CODE SHOT

How do you think, what the following code does?

```def checkio(A):
a, b = A
for _ in range(a):
b = b * (b / b + 1 / b)
return round(b)
```