Wirte a regular expression pattern to match all words ending in s.
This is what I got but seems like im thinking to hard on it, plus of course its not working lol Please help! :)
import re
str = "Subs are everwhere"
print (str)
matchObj = re.match(".*?s ",str,re.L|re.I)
if matchObj:
print ("matchObj.group() : ", matchObj.group())
else:
print ("none found")