calculation #17
Replies: 1 comment
-
计算半径为 r 的圆的面积和周长r = 23
pi = 3.14
# 计算面积和周长
area = pi * r ** 2
circumference = 2 * pi * r华氏度-摄氏度转换fahrenheit = 111.34
celsius = (fahrenheit - 32) * 5 / 9
# 反之: F = C * 9/5 + 32 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
calculation
数据是所有编程语言的核心,程序很多时候,就是为了把一些数据(输入)转换成另一些数据(输出)。对于 Python 来说,数据尤其重要,数据处理,机器学习等高度数据相关的工作都是 Python 最主要的领域。
https://py.qizhen.xyz/calculation
Beta Was this translation helpful? Give feedback.
All reactions