这个问题在这里已有答案:
当我编译这段代码时,它在那里给我一个错误...
import pygame, sys, random, time
check_errors=pygame.init()
if check_errors[1]!=0:
print("(!) Had {0} initializing errors, exiting...".format(check_errors[1]))
sys.exit(-1) #ON this line says:IndentationError: unindent does not match any outer indentation level
else:
print("(+) PyGame successfully initialized!")
我尝试了一些东西但是不能让它起作用,我是一个你可以看到的新手。编辑:这不是一个问题我输入错误...
在导入行1之前有一个“”。