Write a Airplane class which keeps track of the number of pa…
Write a Airplane class which keeps track of the number of passengers in a plane. Write a constructor that receives the maximum number of passengers allowed in the plane as an integer and stores it as a data member. Create another data member to track the current number of passengers in the plane. It should start as 0. Write a method called add_passengers() which receives one additional parameter, the number of passengers to add to the plane. It adds that number to the current passenger count. If that number is greater than the maximum number of passengers allowed in the plane, set the current number to the maximum number of passengers . Write a method called utilization() which receives no additional parameters and returns a string using the following criteria: “bad” if the plane is less than 25% full; “ok” if the plane is between 25% and 75% inclusive; “awesome” if the plane is more than 75% full. HINT: percent is: current_passenger_count/max_count Sample run of Airplane class imported to this file (main.py): import airplanea = airplane.Airplane(100)a.add_passengers(15)print(a.utilization()) # bada.add_passengers(45)print(a.utilization()) # oka.add_passengers(60)print(a.utilization()) # awesome Copy your code airplane.py into the canvas textbox. Code in the python editor is NOT saved.