Let $ X $ be the set of $ n$-letters word, that is $ X = \{(x_{1}, x_{2}, \dots, x_{n}) \} $ where $ x_{i} $ is an alphabetical character. Define $ d(x, y) $ between two words $ x = (x_{1}, \; x_{2}, \; \dots, \; x_{n}) $ and $ y = (y_{1}, \; y_{2}, \; \dots, \; y_{n}) $ to be the number of places in which the $ 2 $ words have difference letters. Prove that $ (X, d) $ is a metric space.
I am having trouble proving the triangle inequality $ d(x, y) \le d(x, z) + d(z, y). $ Also, if one says that $ (\mathbb{C}, |.|) $ is a metric space where $ \mathbb{C} $ is the set of complex numbers, what does the symbol $ |.| $ mean? Does it mean the absolute value of the product of $ 2 $ elements in $ \mathbb{C}? $