import math p = math.pi r = float(input('请输入圆的半径:')) c = 2*p*r s = p*r*r print('圆的周长为%s'%c) print('圆的面积为%s'%s)