<｜begin▁of▁sentence｜>### Instruction:
Given a point with coordinates (3, 4, 5) in a 3D space, can you normalize this point such that its length is 1 while maintaining its direction?
### Response:
import math

class Point:
    def __init__(self, x, y, z):
        self.x = x
        self.y = y
        self.z = z

    def length(self):
        return math.sqrt(self.x**2 + self.y**2 + self.z**2)

    def normalized(self):
        l = self.length()
        if l == 0:
            raise ValueError('Cannot normalize a point with length 0')
        return Point(self.x/l, self.y/l, self.z/l)

# Example usage:
original_point = Point(3, 4, 5)
normalized_point = original_point.normalized()
print(f'Normalized Point: ({normalized_point.x}, {normalized_point.y}, {normalized_point.z})')
<|EOT|>
