- Make sure you have the geometrie resource. If necessary, see the Resources import webpage.
- The code below creates a dictionary with several points. Which statement allows you to check the iterator on the keys?
- Memory representation of the iterator contains several fields. How many ? One of them has a strange name. What does it mean?
- Which statement can get the first point provided by the iterator?
- Add statements to check the following items, examine the evolution of the fields next, current and index. Can you imagine what they do?
- What test shows whether the iterator still provides access to other keys in the dictionary? How do we know the end of the iterator?
- Write an iteration that displays all the keys of the dictionary, using an iterator.