📜  circle python programe - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:16.382000             🧑  作者: Mango

代码示例1
#Area and circumference of a circle.
r=float(input('Enter the radius of the circle :'))
pi=22/7
area=pi*r**2
circumference=2*pi*r
print('The area of the circle is',area)
print('The circumference of the circle is',circumference)
_______________________________________________________________________________