@@ -4,7 +4,7 @@ Dictionaries (or dict in Python) are a way of storing elements just like you
4
4
would in a Python list. But, rather than accessing elements using its index,
5
5
you assign a fixed key to it and access the element using the key. What you now
6
6
deal with is a "key-value" pair, which is sometimes a more appropriate data structure
7
- for many problem instead of a simple list.
7
+ for many problems instead of a simple list.
8
8
9
9
10
10
# 📝Instruction
@@ -18,10 +18,10 @@ phone : 123-123-2134
18
18
email : test@ nowhere.com
19
19
```
20
20
21
- 💡Hints
22
- -contact.keys() ` ['fullname', 'phone', 'email'] `
21
+ 💡Hint:
22
+ - contact.keys() ` ['fullname', 'phone', 'email'] `
23
23
24
- -contact.values() ` ['Jane Doe', '321-321-4321', 'test@test.com'] `
24
+ - contact.values() ` ['Jane Doe', '321-321-4321', 'test@test.com'] `
25
25
26
- -contact.items() ` [('fullname', 'Jane Doe'), ('phone', '321-321-4321'), `
26
+ - contact.items() ` [('fullname', 'Jane Doe'), ('phone', '321-321-4321'), `
27
27
` ('email', 'test@test.com')] `
0 commit comments