We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4160249 commit 3dcdf0cCopy full SHA for 3dcdf0c
1 file changed
05-dict/characterCount.py
@@ -1,3 +1,4 @@
1
+import pprint
2
message = 'It was a bright cold day in April, and the clocks were striking thirteen.'
3
count = {}
4
@@ -6,3 +7,6 @@
6
7
count[character] = count.get(character, 0) + 1
8
9
print(count)
10
+pprint.pprint(count)#对比显示
11
+
12
0 commit comments