I am stuck at errorMessage": "'str' object is not callable"

i am stuck at errorMessage": “‘str’ object is not callable”

my code is working fine on system but not working on lambda function it gives me “str’ object is not callable”

Code is

import feedparser

rss_url = ‘https://timesofindia.indiatimes.com/rssfeeds/1221656.cms
parser = feedparser.parse(rss_url)

for entry in parser.entries:
print(entry.title)
print(entry.link)
print(entry.description)
print(’----------------------------------’)

Hi, welcome to the forums!

Is this part of a lesson (for Beautiful Soup)? If so, could you please link it?

Also, please use the button above: “</>” to format all of your code so we can more easily read it.