36 lines
394 B
Python
36 lines
394 B
Python
|
|
# initializing string representation of a list
|
|
ini_list = """[
|
|
|
|
massacre
|
|
knock off
|
|
do away with
|
|
bump off
|
|
rub out
|
|
do in
|
|
croak
|
|
blow away
|
|
cut down
|
|
butcher
|
|
shoot down
|
|
claim
|
|
carry off
|
|
fell
|
|
blot out
|
|
eliminate
|
|
eradicate
|
|
mow (down)
|
|
smite
|
|
wipe out
|
|
exterminate
|
|
annihilate
|
|
zap
|
|
|
|
|
|
|
|
]"""
|
|
|
|
# Converting string to list
|
|
res = ini_list.strip().strip('][').split('\n') #.split(' ')
|
|
|
|
print([i for i in res if i]) |