猫史档案馆


积极的疾电猴v4E1

积极的疾电猴v4E1

Lv.1

获赞:0收藏:0浏览:0作品收藏:0
回复帖子评论
上一页1 页 / 共 1下一页

【在线求~~~】 中回复

import pgzrun

WIDTH = 310
HEIGHT = 450
score = 0
button = Actor("button1_n")
button.pos = WIDTH / 2, HEIGHT / 2 + 60


def draw():
    screen.fill("lightbule")
    button.draw()
    screen.draw.taxt("Score:" + str(score),
                     color="write",
                     center=(WIDTH / 2, 90),
                     fontsize=50)


pgzrun.go()

fontsize=50多了引号

button1_n要放在./images/下

 

2020-10-31T16:02:08 点赞:0

【Python作品分享】求平均分 中回复

print('平均分:' , (a + b + c) / 3)

2020-10-31T16:06:18 点赞:0