import math
def normalize(normal):
x = normal[0]
y = normal[1]
z = normal[2]
s = math.sqrt(x2 + y2 + z**2)
x /= s
y /= s
z /= s
return (x, y, z)
if name == 'main':
input = input() # 一定要输入三元浮点元组
# 将字符串转为元组
temp = ??
normal = tuple(??)
# 此处调用上面的函数
normal = ??
print(normal)
import math
def normalize(normal):
x = normal[0]
y = normal[1]
z = normal[2]
s = math.sqrt(x**2 + y**2 + z**2)
x /= s
y /= s
z /= s
return (x, y, z)
if __name__ == '__main__':
input = input() # 一定要输入三元浮点元组
# 将字符串转为元组
temp = eval(input)
normal = tuple(temp)
# 此处调用上面的函数
normal = normalize(normal)
print(normal)