Posts by MKvO • 21 points
1 post
- 
		2 votes6 answers37862 viewsA: How to remove characters from a string?I wore something similar to Gustavo Sampaio and Marco Souza ex1 = "chocolate" ex2 = "oca" for letra in ex2: if letra in ex1: ex1 = ex1.replace(letra,'') print(ex1) The output will be: hlte What this…