Skip to content

Commit

Permalink
Update Comprehensions/dict-comprehensions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
suqi committed Dec 3, 2015
1 parent d438601 commit 9286d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Comprehensions/dict-comprehensions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 字典推导式(```dict``` comprehensions)

他们(列表推导和字典)的使用方法是类似的。这里有个我最近发现的例子:
字典推导和列表推导的使用方法是类似的。这里有个我最近发现的例子:
```python
mcase = {'a': 10, 'b': 34, 'A': 7, 'Z': 3}

Expand Down

0 comments on commit 9286d6e

Please sign in to comment.