DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+2 =
Submit