Skip to content

Commit 40aa690

Browse files
authored
Create 0011.py
1 parent acd7fa4 commit 40aa690

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

pylyria/0011/0011.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# -*- coding: utf-8 -*-
2+
#!/usr/bin/env python
3+
4+
def is_sensitive(word):
5+
sensitive_words = [line.strip() for line in open('sensitive.txt', encoding='utf-8')]
6+
word = word.strip()
7+
if word.lower() in sensitive_words:
8+
return True
9+
else:
10+
return False
11+
12+
if __name__ == "__main__":
13+
while 1:
14+
if is_sensitive(input()):
15+
print('Freedom')
16+
else:
17+
print('Human Rights')

0 commit comments

Comments
 (0)