<prompt> Kujenga Python darasa kwa ajili ya apple.  <response>: Here is an example of Python class for an apple:pythonclass Apple: def __init__self, color, weight, variety: self.color color self.weight weight self.variety variety def get_colorself: return self.color def get_weightself: return self.weight def get_varietyself: return self.variety def set_colorself, color: self.color color def set_weightself, weight: self.weight weight def set_varietyself, variety: self.variety varietyThis Apple class has three instance variables: color, weight, and variety. It also has six methods: get_color, get_weight, get_variety, set_color, set_weight, and set_variety. These methods allow you to access and modify the values of the instance variables. 