摘要:
实例1 def division(): print('\n 分苹果了 \n') apple=int(input('请输入苹果的个数')) children=int(input('请输入来了多少个小朋友')) result=apple//children remain=apple-result*chi 阅读全文
摘要:
实例1 bmi.py def fun_bmi(person,height,weight): print(person+'的身高'+str(height)+'米\t 体重:'+str(weight)+'千克') bmi=weight/(height*height) print(person+'的BMI 阅读全文