为给定的两个文本序列计算编辑距离，并将计算结果输出。

kitten，sitting
The edit distance between "kitten" and "sitting" is 3. 

Here's one possible set of operations to transform "kitten" into "sitting":

1. Replace "k" with "s".
2. Replace "e" with "i".
3. Insert "g" at the end.

Therefore, the edit distance is 3.