equal
deleted
inserted
replaced
1 .. 8.4 LO: dictionaries (2) |
1 .. Objectives |
2 .. ------------------------ |
2 .. ---------- |
3 .. * empty |
3 |
4 .. * filled |
4 .. At the end of this tutorial, you will be able to |
5 .. * accessing via keys |
5 |
6 .. * .values(), .keys() |
6 .. 1. Create dictionaries |
7 .. * in |
7 .. #. Add data to dictionaries |
8 .. * iteration |
8 .. #. Retrieve data |
|
9 .. #. Familiarize using ``.keys()`` and ``.values()`` methods |
|
10 .. #. Checking for container-ship of keys |
|
11 .. #. Iterating over elements |
|
12 |
|
13 .. Prerequisites |
|
14 .. ------------- |
|
15 |
|
16 .. 1. should have ``ipython`` installed. |
|
17 .. #. getting started with ``ipython``. |
|
18 .. #. basic datatypes. |
|
19 |
|
20 .. Author : Anoop Jacob Thomas <anoop@fossee.in> |
|
21 Internal Reviewer : |
|
22 External Reviewer : |
|
23 Checklist OK? : <put date stamp here, if OK> [2010-10-05] |
|
24 |
9 |
25 |
10 ============ |
26 ============ |
11 Dictionaries |
27 Dictionaries |
12 ============ |
28 ============ |
13 |
29 |
174 iterating over the dictionaries. |
190 iterating over the dictionaries. |
175 |
191 |
176 {{{ switch to next slide, thank you slide }}} |
192 {{{ switch to next slide, thank you slide }}} |
177 |
193 |
178 Thank you! |
194 Thank you! |
179 |
|
180 .. Author: Anoop Jacob Thomas <anoop@fossee.in> |
|
181 Reviewer 1: |
|
182 Reviewer 2: |
|
183 External reviewer: |
|