在python中安装pygame,
然后运行,出现以下结果:
AttributeError Traceback (most recent call last)
<ipython-input-16-769c0a800646> in <module>
5 pygame.init()
6 #新建窗口
----> 7 screen = pygame.dispaly.set_mode((640, 480))
8
9 # 设置窗口标题
AttributeError: module 'pygame' has no attribute 'dispaly'
这个问题该怎么处理?