python/strings.py
def common_letters(str1, str2):
    """Return common letters between two strings."""
    dict_ = []
    if len(str1) > len(str2):
        str_ = str1
    else:
        str_ = str2
    for letter in str_:
        if letter in str2 and letter in str1 and letter not in dict_:
            dict_.append(letter)
    return dict_
Return common letters between two strings.
Return common letters between two strings.
Return common letters between two strings .
def common_letters(str1, str2):
    dict_ = []
    if len(str1) > len(str2):
        str_ = str1
    else:
        str_ = str2
    for letter in str_:
        if letter in str2 and letter in str1 and letter not in dict_:
            dict_.append(letter)
    return dict_
def common_letters ( str1 , str2 ) : dict_ = [ ] if len ( str1 ) > len ( str2 ) : str_ = str1 else : str_ = str2 for letter in str_ : if letter in str2 and letter in str1 and letter not in dict_ : dict_ . append ( letter ) return dict_
Return common letters between two strings.
Return common letters between two strings .
"""Return common letters between two strings."""
str1
str2