Accretive Technology Group tools may need to compare revisions of configuration or content text. Given two strings, return the minimum number of single-character edits required to transform the first string into the second.
An edit is one of the following operations:
Implement edit_distance(source, target).
source and target, containing lowercase English letters.source into target.1.def edit_distance(source, target):