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-mgdnFTqbbtpsfRKUjtOZQSLKPKThe 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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here