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日

摘要: 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日

摘要: 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)