Difference between revisions of "Python Problems and Solutions"

From rbachwiki
Jump to navigation Jump to search
(Created page with "<nowiki> st = 'Print only the words that start with s in this sentence' for word in (st.split()): if word[0]== 's': print(word) </nowiki>")
(No difference)

Revision as of 02:35, 29 January 2019

st = 'Print only the words that start with s in this sentence' for word in (st.split()): if word[0]== 's': print(word)