Python format 格式化函数
R=float(input()) area=R*R*3.14159 #print("A=%.4f" % area) print("A={:.4f}".format(area))#使用大括号 {} 来转义大括号