paranormal-or-skeptic/program.py

11 lines
195 B
Python
Raw Permalink Normal View History

2020-03-02 17:39:42 +01:00
#!/usr/bin/python
import sys
import re
for line in sys.stdin:
if re.search(r'UFO|ufo|paranormal|ghost|alien|aliens|evidence|witness', line):
print("P")
else:
print("S")