Python Problems and Solutions
Jump to navigation
Jump to search
st = 'Print only the words that start with s in this sentence'
for word in (st.split()):
if word[0]== 's':
print(word)