Discuss / Python / 输入半径计算圆面积的方程

输入半径计算圆面积的方程

Topic source

PI=3.14

def area(x): return PIxx

n=int(input('Enter the radius: ')) print('area of circle is', area(n))


  • 1

Reply