Download the text file titled Tweets-short.txt from the following URL and save it in your Jupyter directory folder: https://drive.google.com/open?id=1NJvqi-mgdnFTqbbtpsfRKUjtOZQSLKPK The file includes...


Download the text file titledTweets-short.txt from the following URL and save it in your Jupyter directory folder: https://drive.google.com/open?id=1NJvqi-mgdnFTqbbtpsfRKUjtOZQSLKPK
The file includes 148 tweets(one per each line) containing the keywordelection. Each tweet/line is either anoriginal tweet or aretweet. ARetweet is identified by the termRT at the beginning of the line.
Write a program that opens the text file and reads it line by line, then only if the tweet in a line is an original tweet (i.e., NOT a Retweet) AND contains the keyword"Biden" writes that on an output txt file. Name the output file[your_last_name].txt.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here