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 0ae7a54 commit 4b0e71fCopy full SHA for 4b0e71f
python-set-comprehension/text.py
@@ -1,10 +1,10 @@
1
unique_words = set()
2
text = """
3
-Beautiful is better than ugly.
4
-Explicit is better than implicit.
5
-Simple is better than complex.
6
-Complex is better than complicated.
7
-"""
+Beautiful is better than ugly
+Explicit is better than implicit
+Simple is better than complex
+Complex is better than complicated
+""".lower()
8
9
for word in text.split():
10
unique_words.add(word)
0 commit comments