Answer:
class WeatherForecast(object):
skies = ""
min = 0
max = 0
def get_skies(self):
return self.skies
def set_skies(self, value):
self.skies = value
def get_max(self):
return self.max
def set_max(self, value):
self.max = value
def get_min(self):
return self.min
def set_min(self, value):
self.min = value
def main():
obj1 = WeatherForecast()
obj1.set_skies("Skies1")
obj1.set_max(2)
obj1.set_min(0)
print("Calling get_skies(): ", obj1.get_skies())
print("Calling get_max(): ", obj1.get_max())
print("Calling get_min(): ", obj1.get_min())
main()
Explanation:
- Inside the WeatherForecast class, initialize variables for skies, minimum and maximum.
- Define the getter and setter method for the necessary variables inside the WeatherForecast class.
- Create an object of the class WeatherForecast.
- Call the getter functions of the class and display the results.
- Finally call the main function to test the program.
Answer:
A line holding HTML version information, a declarative header section (separated by the HEAD element), and a body containing the document's actual content make up an HTML 4 page.
Answer:
The correct answer is "circuit-level gateway"
Explanation:
A circuit-level gateway is a type of firewall that works at the session layer between the transport and application layer.
Answer:
Option D. Persuasive writing style
is correct answer.
Explanation:
- Alice should adopt the persuasive writing style as she wants to convince the people to adopt eco-friendly methods of living.
- When a person write persuasively, this means he/she will present justifications and reasons for that specific opinion he/she is trying to convince the audience.
- For the correctness of their opinion, different kinds of evidences are prepared so that the fact persuade the reader.
- Persuasive writing is used widely while writing academic papers, advertisements and argumentative essays as well.
<h2>
</h2><h2>
i hope it will help you!</h2>
Im only in 4th sorry i dont think i can help