Posts by Abraão Emiliano • 31 points
1 post
-
2
votes6
answers37862
viewsA: How to remove characters from a string?
word1 = 'chocolate' word2 = 'oca' for i in word2: word1 = word1.replace(i, '') print(word1)
1 post
2
votes6
answers37862
viewsword1 = 'chocolate' word2 = 'oca' for i in word2: word1 = word1.replace(i, '') print(word1)