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 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
#python
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit