12 2022 档案
摘要:实例一: def fun_bmi(person,height,weight): '''功能:根据身高和体重计算BMI指数 person:姓名 height:身高,单位:米 weight:体重,单位:千克 ''' print(person+"的身高:"+str(height)+"米 \t 体重:"+s
阅读全文
摘要:实例一: import wxclass MyFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,title="创建StaticText类",pos=(100,100),size=(600,40
阅读全文
摘要:# -*- coding:utf-8 -*-import sys #导入sys模块import pygame #导入pygame模块 pygame.init() #初始化pygamesize=width,height=640,480 #设置窗口screen=pygame.display.set_mo
阅读全文
浙公网安备 33010602011771号