任俊杰1
我叫任俊杰1 while True:chinese = input('请输入语文分数:')
maths = input('请输入数学分数: ')
english = input('请输入英语分数: ')
chinese = int(chinese)
maths = int(maths)
english = int(english)
total = (chinese + maths + english)/3
print(total)
if total > 90:
print('你是满级人类!!!!!!!!!!!!!!!!!!!')
elif total > 80:
print('加油!!!!!!!!!!!!')
else:
print('差!!!!!!!!!!!!') snake_list = [, , , , ]
for position in snake_list:
print(position)
if event.type==pygame.KEYDOWN:
if event.key==pygame.K_UP:
direction='up'
if event.key == pygame.K_DOWN:
direction = 'down'
if event.key == pygame.K_LEFT:
direction = 'left'
if event.key == pygame.K_RIGHT:
direction = 'right'
if direction=='up':
head_x=snake_list
head_y=snake_list-20
head=
snake_list,insert(0,head)
snake_list.pop()
页:
[1]