Sensitive words into *

li = [ "Cang teacher", "Tokyo hot", "Muto blue", "Yui Hatano"] 
LIS = []
Content = the INPUT ( "Please enter the Review")
for i in li:
IF i in Content:
Content = content.replace (i, "*" * len (i)) # from the new assignment
lis.append (Content)
Print (LIS)

Guess you like

Origin www.cnblogs.com/hadibingjing/p/10936776.html
Recommended