Skip to content

Instantly share code, notes, and snippets.

Let's use decorators to build a name directory! You are given some information about people. Each person has a first name, last name, age and sex. Print their names in a specific format sorted by their age in ascending order i.e. the youngest person's name should be printed first. For two people of the same age, print them in the order of their input.

For Henry Davids, the output should be:

Mr. Henry Davids

For Mary George, the output should be:

@marmeladze
marmeladze / table.html
Last active November 13, 2017 20:42 — forked from zeynalabidin/table.html
<table class="table table-condensed table-bordered">
<tr>
<th rowspan="3">Ağac</th>
<th rowspan="3"> Diametr</th>
<th colspan="4">texniki</th>
<th colspan="8">Hecm</th>
</tr>
<tr>
<th rowspan="2">islik</th>
<th rowspan="2">yarim</th>