Skip to content

Commit 978fda2

Browse files
committed
remove empty lines added by 7de4db4
1 parent 7de4db4 commit 978fda2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

en/python_introduction/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ When should you use a dictionary or a list? Well, that's a good point to ponder.
391391
- Do you just need an ordered sequence of items? Go for a list.
392392
- Do you need to associate values with keys, so you can look them up efficiently (by key) later on? Use a dictionary.
393393

394-
395394
Like lists, using the `len()` function on the dictionaries returns the number of key–value pairs in the dictionary. Go ahead and type in this command:
396395

397396
{% filename %}command-line{% endfilename %}
@@ -407,7 +406,6 @@ Dictionaries, like lists, are *mutable*, meaning that they can be changed after
407406
>>> participant['favorite_language'] = 'Python'
408407
```
409408

410-
411409
I hope it makes sense up to now. :) Ready for some more fun with dictionaries? Read on for some amazing things.
412410

413411
You can use the `pop()` method to delete an item in the dictionary. Say, if you want to delete the entry corresponding to the key `'favorite_numbers'`, type in the following command:

0 commit comments

Comments
 (0)