编辑代码

#计算圆面积及周长
PI=3.14;
r=float(input('输入半径的长度:\n'));
s=r**2*PI;
c=2*PI*r;
print('输出圆面积:',s);
print('输出圆周长:',c);