Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find the difference of strings in python

def findTheDifference(s, t):
    while t[0] in s:
        s = s.replace(t[0],'')
        print(s)
        t = t[1:]

    return t[0]
Source by eolnuha.com #
 
PREVIOUS NEXT
Tagged: #find #difference #strings #python
ADD COMMENT
Topic
Name
4+5 =