![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hongda
少儿编程侯老师
这个作者很懒,什么都没留下…
展开
-
Hongda -接小球游戏
待实现:出现一连串绿色代码 import pygame import sys import time # 初始化 pygame.init() screen = pygame.display.set_mode((600,500)) # 设置窗口 pygame.display.set_caption('猩球大战') ball_x, ball_y = 300, 250 Down = True # 事...原创 2019-11-02 19:51:47 · 158 阅读 · 0 评论 -
Hongda - python计算器
计算器1.0 s = input('你想计算什么') first_num = s[0] second_num = s[2] if s[1] == '+': a = int(first_num) + int(second_num) elif s[1] == '-': a = int(first_num) - int(second_num) elif s[1] == '*': a...原创 2019-10-26 19:51:35 · 196 阅读 · 0 评论