if variable is equal to string python code example
Example: determine how 2 string si equal py
from difflib import SequenceMatcher
def similar(a, b):
return SequenceMatcher(None, a, b).ratio()
from difflib import SequenceMatcher
def similar(a, b):
return SequenceMatcher(None, a, b).ratio()