PYTHON CODE

Write code in python to read a list of words and return all the string that begin with ‘S’ or ‘s’

print [w for w in map(str, raw_input().split()) if w[0] in [‘s’,‘S’] ]

//