while True:
i=1
screen.blit('pic'+str(i),(0,0))
pygame.display.update()
本意是想要调用pic1并显示,但是返回错误如下:
Traceback (most recent call last):
File "C:/Program Files (x86)/Python37-32/2018-10-15b2.py", line 15, in <module>
screen.blit('pic'+str(i),(0,0))
TypeError: argument 1 must be pygame.Surface, not str