2
answers
0
watching
224
views
14 Nov 2018

Part (d) [2 MARKS] Complete method __init__ in class Flight: def __init__(self, plane): (Flight, Airplane) -> None Type Create a Flight with an empty passenger list on airplane plane. >>> a = Airplane ('Boeing 747', '19643', 366, 45267.7) >>> f = Flight(a) >>> str(f.airplane) 'Airplane (Boeing 747, 19643, 366, 45267.7) >>>> f.passengers

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Collen Von
Collen VonLv2
15 Nov 2018
Already have an account? Log in
Start filling in the gaps now
Log in