I’ve got a list of strings and I need to join all these strings in to one. how do I do that?
this is the code if needed:
def censor_list(email_num, to_censor):
email_num2=email_num.replace('\n',' ' ).split(' ')
for word in to_censor:
for piece in email_num2:
if word == piece:
censor_list(email_two,["she", "personality matrix",
"sense of self", "self-preservation", "
learning algorithm", "her", "herself"])