-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
14 lines (14 loc) · 940 Bytes
/
task.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<h2>Adding an item</h2>
<html>
<head></head>
<body>
<p>Let's say you have a dictionary matching your friends' names with their favorite flowers:</p>
<pre><code class="language-python">favfl = {'Alex': 'field flowers', 'Kate': 'daffodil', 'Eva': 'artichoke flower', 'Daniel': 'tulip'}</code></pre>
<p>Your new friend Alice likes orchid the most: add this info to the <code class="language-python">favfl</code> dict and print the dict.</p>
<p><strong>NB:</strong> Do not redefine the dictionary itself, just add the new element to the existing one.</p>
</body>
</html><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/6481">Show topic summary</a>