Você precisa executar o script com python3
~$ python Test.py
thefourtheye
#####
Traceback (most recent call last):
File "Test.py", line 5, in <module>
inputtedStr = input()
File "<string>", line 1
#####
^
SyntaxError: unexpected EOF while parsing
~$ python --version
Python 2.7.4
~$ python3 --version
Python 3.3.1
~$ python3 Test.py
WELCOME
thefourtheye
###
####
#####
Original List: ['WELCOME', 'thefourtheye', '###', '####']
NO Duplicates: ['WELCOME', 'thefourtheye', '###', '####']
ou
Como sugerido por @MiJyn nos comentários,
-
apenas edite seu arquivo e inclua a seguinte linha como a primeira linha
#!/usr/bin/env python3
-
chmod 755 <filename>.py
-
./<filename>.py