Answer:
Option A, B & C are correct answers .
Explanation:
Answer:
- class AirConditioner:
- def __init__(self, a_c=False):
- self.office_a_c = a_c
-
-
- ac = AirConditioner()
- ac.office_a_c = True
Explanation:
Firstly, create a class and name it as AirConditioner (Line 1).
Next in the class constructor, create the reference variable office_a_c (Line 3). Please note the reference variable shall be preceded with a self keyword. Besides, the reference variable is set to False by default.
Create an AirConditioner object (Line 6) and then use the dot syntax (.) to set the object reference variable office_a_c to True.
No they shouldn’t Because we all have the rights to pick our selves
- This is called IPO cycle.
- IPO stands for Input Process Output.
- All parts are necessary .
Lets see example.
Look at the program created in python below.



Suppose you missed the input or don't give that then you won't get an output.