Designed by IITian's, only for AI Learners.
New to InsideAIML? Create an account
Employer? Create an account
Find the adverbs from string using regular expression (re) module
Find all the adverbs and their positions using the re module
text = "She made me laugh wildly and uproariously."
for v in re.finditer(r"\w+ly",text):
print('%d-%d: %s' %(v.start(), v.end(),v.group(0)))
Running random forest algorithm with one variable
Chat now for any query