|
Python初学者求教
#版本3.6.1
#一段代码如下
import pprint
message="It is time to learning python."
count={}
for character in message:
count.setdefault(character,0)
count[character]=count[character]+1
pprint.pprint(count)
运行后显示
AttributeError: module 'pprint' has no attribute 'pprint'
用其他机子运行没问题!
软件重装了N遍
请问哪位高人指点一下?这个是什么情况?
|
|