Question: I need help with this python programming question! So I have code which gets the last 200 tweets from the hashtag #ComeyInterview on twitter using
I need help with this python programming question! So I have code which gets the last 200 tweets from the hashtag #ComeyInterview on twitter using twython.
Now I need to do the following:
Define a class Tweet to represent one tweet. This class should have a __str__ method that represents information about the tweet and an additional method which should return a list of all the words in the tweet that are not stopwords (e.g. and, the, is)
Then I need to create a list of instances of class Tweet and find the most common word that is at least five letters long and is not a stopword, across all of the tweets.
Thank you so much
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
