You will get a sentence as input. Find all words that start with the letter s and print them as a list. Keep in mind that the pattern should be case-sensitive – you only need words that start with a lowercase s.
Regexp functions in Python
Finding all
Report a typo
Sample Input 1:
She sells seashells on the seashore.Sample Output 1:
['sells', 'seashells', 'seashore']Write a program in Python 3
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.