Skip to content

Instantly share code, notes, and snippets.

@jmquintana79
Last active March 6, 2026 15:30
Show Gist options
  • Select an option

  • Save jmquintana79/066f3ed632b1542e8425cac3defb8af2 to your computer and use it in GitHub Desktop.

Select an option

Save jmquintana79/066f3ed632b1542e8425cac3defb8af2 to your computer and use it in GitHub Desktop.
from difflib import SequenceMatcher
def similitud(a, b):
return SequenceMatcher(None, a, b).ratio()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment