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