text_plain_output_1.png
from textblob import TextBlob

ex1 = "Here's a wrap of the latest coronavirus news in Canada: 77 cases, one death, an outbreak in a B.C. nursing home and Ottawa asks provinces about their critical supply gaps.  https://www.theglobeandmail.com/canada/article-bc-records-canadas-first-coronavirus-death/"
ex2 = 'B.C. records Canada’s first coronavirus death  http://dlvr.it/RRZPGL  pic.twitter.com/pn8T4yumQJ'

ex1_tb = TextBlob(ex1)
ex1_ss = ex1_tb.sentiment[0]
print('Example 1 has score={}'.format(ex1_ss))
ex2_tb = TextBlob(ex2)
ex2_ss = ex2_tb.sentiment[0]
print('Example 2 has score={}'.format(ex2_ss))