subject
Computers and Technology, 19.04.2021 15:40 Ain805

You are to create a Tweet Manager in Python according to the requirements specified in this document. Description Twitter is a social networking service that provides users with a platform to post short messages, called tweets. You will create a menu-driven, Twitter-like program that allows users to make, view, and search through tweets. *Note: Unlike Twitter, we will not be publishing Tweets to the Internet. We will be storing, saving, and loading Tweet-like messages using Python. Requirements Tweet Class Write a class named Tweet and save it as a file named Tweet. py. The Tweet class should have the following data attributes: __author To store the name of whoever is making the tweet. __text To store the tweet itself. __age To store the time when the tweet was created. The Tweet class should also have the following methods: __init__ __get_author _ _get_text _ _get_age This method should take two parameters, the author and text of the tweet. It should create __author and __text based on those parameters and it should create __age based on the current time. Returns the value of the __author field.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Working on this program in python 3.7: a year in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to rotate around the sun. to account for the difference in time, every 4 years, a leap year takes place. a leap year is when a year has 366 days: an extra day, february 29th. the requirements for a given year to be a leap year are: 1) the year must be divisible by 42) if the year is a century year (1700, 1800, the year must be evenly divisible by 400some example leap years are 1600, 1712, and 2016.write a program that takes in a year and determines whether that year is a leap year.ex: if the input is 1712, the output is: 1712 is a leap year. ex: if the input is 1913, the output is: 1913 is not a leap year. your program must define and call the function isleapyear(useryear). the function should return true if the input year is a leap year and false otherwise.
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
You know the right answer?
You are to create a Tweet Manager in Python according to the requirements specified in this document...
Questions
question
Mathematics, 30.09.2019 19:00
question
Social Studies, 30.09.2019 19:00
Questions on the website: 13722367