We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1429c4 commit 52b5da0Copy full SHA for 52b5da0
PyBeaner/0012/filter.py
@@ -0,0 +1,9 @@
1
+__author__ = 'PyBeaner'
2
+words = open("filtered_words.txt").read().split()
3
+
4
+user_input = input("Please Input an word:")
5
6
+for word in words:
7
+ user_input = user_input.replace(word, "*" * len(word))
8
9
+print(user_input)
PyBeaner/0012/filtered_words.txt
@@ -0,0 +1,11 @@
+����
+����Ա
+�쵼
+ţ��
+love
10
+sex
11
+jiangge
0 commit comments