Commit 9a178a2b by BellCodeEditor

save project

parent 3f5f1699
Showing with 32 additions and 1 deletions
#qqwqsw=["we","ef"]
#qqwqsw.insert(2,'dhg')
#print(qqwqsw)
dfvgb="rzcr"
fdrfer=332222
gfhvsgecvd=["dc",12,"qw",13,"GT",14,"hj",15]
for in i range(len(gfhvsgecvd)):
if i%2==1 and gfhvsgecvd[i]>=fdrfer:
gfhvsgecvd.insert(i-1,dfvgb)
gfhvsgecvd.insert(i,fdrfer)
break
print(gfhvsgecvd)
......@@ -4,13 +4,17 @@ pygame.init()
screen=pygame.display.set_mode((800,600))
bg=pygame.image.load("bg.png")
apple=pygame.image.load("apple.png")
right=pygame.image.load("right.png")
body=pygame.image.load("body.png")
while True:
for event in pygame.event.get():
print(event.type)
if event.type== locals.QUIT:
exit()
screen.blit(bg,(0,0))
screen.blit(apple,(100,100))
screen.blit(apple,(50,100))
screen.blit(right,(100,100))
screen.blit(bodyright,(10,100))
pygame.display.update()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment