Problem Set 0#

Elapsed Time Calculator#

定义函数elapsed(seconds), 打印秒数所对应的时分秒。

例如1000秒对应0小时,16分钟,40秒。如果调用elapsed(1000),屏幕上会打印三行数据: 0 16 40

Geometry I#

Please type the code example Geometry Formulas in replit. Run the code and test it with your inputs. It is recommended to manually type the code by yourself, but copy and paste is fine as well.

Geometry II#

Please write at least three other functions to calculate the area or volume of different shapes. You can check out here: https://www.cuemath.com/geometry-formulas/

提交方式:在replit上编写程序并提交。程序包括函数定义和函数调用。