first commit
This commit is contained in:
parent
abc6526143
commit
26631f9b48
24 changed files with 1089 additions and 1 deletions
8
Exercise/exercise-1.2.py
Normal file
8
Exercise/exercise-1.2.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import math
|
||||
|
||||
# 请输出以下关于圆的周长和面积的计算,保留3位小数
|
||||
radius = 3
|
||||
pi = math.pi
|
||||
|
||||
# 应当输出 当圆的的半径是3时,它的周长是18.850,他的面积是28.274
|
||||
print('当圆的的半径是时,它的周长是,他的面积是')
|
||||
Loading…
Add table
Add a link
Reference in a new issue