All Tracks/learn algorithm design by building a shortest path algorithm/
Đang tải...
Hướng dẫn thử thách
1 / 59

Step 2

Dictionaries store data in the form of *key*-*value* pairs. A key is separated from the correspondent value by a colon. And each key-value pair is separated from the following pair by a comma: ```py my_dict = { 'name': 'Michael', 'occupation': 'Lumberjack' } ``` Add a new key-value pair to your dictionary. Use the string `'species'` as the key, and the string `'guinea pig'` as the value.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.py
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.