标签:距离 turn pre bsp inpu def put input port
import math def distance(a,b,c): d = math.sqrt(a*a + b*b + c*c) return d x,y,z=input().split(",") d=distance(float(x),float(y),float(z)) print("{:.2f}".format(d))
标签:距离 turn pre bsp inpu def put input port
原文地址:https://www.cnblogs.com/xxt77/p/12701586.html