Commit af6a84ca by BellCodeEditor

save project

parent baaa4623
Showing with 47 additions and 2 deletions
# num=0
# while True:
# num+=1
# if num%3==2 and num%7==6 and num%11==10 and num%17==16 and num%23==22:
# print(num)
# for i in range(5,0,-1):
# print(i,end='.')
# r=int(input())
# m=int(input())
# y=int(input())
# n=0
# while True:
# m=m*(1+r/100)
# n+=1
# if m>y:
# break
# print(n)
# a=(1,2,3,4)
# b=sorted(a)
# print(b)
# a=input('')
# b=eval(a)
# c=max(b)
# d=min(b)
# print(c)
# print(d)
# a=['a','b','c','d','e']
# b=int(input(''))-1
# c=int(input(''))-1
# a[b],a[c]=a[c],a[b]
# print(a)
# a=input('')
# c=list(a)
# c.reverse()
# print(c)
a=[12,314,44,23144,,34,321,32,41,324,31,534,2,54,33245,43,313245,34,232,453,4234]
b=[]
for i in a:
if i not in b:
b.append(i)
else:
continue
print(b)
\ No newline at end of file
......@@ -82,4 +82,4 @@ while True:
screen.blit(obstacle.image, (obstacle.rect.x, obstacle.rect.y))
# 刷新画面
pygame.display.update()
FPS.tick(45)
\ No newline at end of file
FPS.tick(100)
\ No newline at end of file
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