会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cah666
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2022年12月1日
跳动小球
摘要: import sys import pygame pygame.init() size = width, height = 640,480 screen = pygame.display.set_mode(size) color = (0,0,0) ball = pygame.image.load(
阅读全文
posted @ 2022-12-01 22:30 放下爱与神并肩
阅读(50)
评论(0)
推荐(0)
2022年9月22日
9.21
摘要: print("今有物不知其数,三三数之剩二,五五数之剩三,七七数之剩二,问几何?\n")number=int(input("请输入你认为符合条件的数:"))if number%3==2 and number%5==3 and number%7==2: print(number,"符合条件")else
阅读全文
posted @ 2022-09-22 16:04 放下爱与神并肩
阅读(102)
评论(0)
推荐(0)
2022年9月15日
9.15
摘要: height=1.68print("你的身高:"+str(height))weight=62print("你的体重:"+str(weight))bmi=weight/(height*height)print("你的BIM指数是:"+str(bmi))# 判断身材是否合理if bmi<18.5: pr
阅读全文
posted @ 2022-09-15 12:52 放下爱与神并肩
阅读(146)
评论(0)
推荐(0)