pands-problem-sheet:潘德问题表

时间:2021-04-13 05:52:25
【文件属性】:
文件名称:pands-problem-sheet:潘德问题表
文件大小:35KB
文件格式:ZIP
更新时间:2021-04-13 05:52:25
Python 潘德问题表 安德鲁·沃克(Andrew Walker)( ) 20-21的自述文件:52167-编程和脚本编写模块 讲师 Beatty( ) 该文件是该模块的提交问题表,包含整个课程中设置的每周任务的代码,参考和注释。 第一周 不适用-无需提交代码。 第2周:声明 编写一个计算某人的身体质量指数(BMI)的程序。 调用文件bmi.py。输入的内容是人的身高(以厘米为单位)和体重(以公斤为单位)。 输出是它们的重量除以它们的高度(以平方米为单位)。 代码: bmi.py height = int ( input ( "Enter height in centimetres: " )) weight = int ( input ( "Enter weight in kilograms: " )) print ( "The height is {}cm" . format ( heig
【文件预览】:
pands-problem-sheet-main
----plottask.py(1KB)
----secondString.py(371B)
----test.txt(4B)
----weekday.py(1KB)
----es.py(2KB)
----bmi.py(744B)
----collatz.py(1KB)
----plottask.png(25KB)
----README.md(16KB)
----squareRoot.py(2KB)

网友评论