-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
13 lines (13 loc) · 1.25 KB
/
task.html
1
2
3
4
5
6
7
8
9
10
11
12
13
<h2>Tallest people</h2>
<html>
<head></head>
<body>
<p>Given a person's name as a keyword argument and their height as its value, declare a function <code class="java">tallest_people()</code>. It should print the names of the tallest people along with their heights.</p>
<p>If there are several names, sort them alphabetically. Also, pay attention to the output format: <code class="java">Name : height</code>.</p>
<p>You are not supposed to handle input or call <code class="java">tallest_people()</code>, just implement this function.</p>
</body>
</html><br><b>Sample Input:</b><br><pre><code class="language-no-highlight">Jackie 176<br>Wilson 185<br>Saersha 165<br>Roman 185<br>Abram 169<br><br></code></pre><br><b>Sample Output:</b><br><pre><code class="language-no-highlight">Roman : 185 <br>Wilson : 185</code></pre><br><br><br><font color="gray">Memory limit: 256 MB</font><br><font color="gray">Time limit: 15 seconds</font><br><br>
<b>Caution</b><br><br>
You may see errors in your code or execution results due to missing context. Don’t worry about it, just write the solution and press Check.
<br><br>
<a href="https://hyperskill.org/learn/step/9544">Show topic summary</a>