14 Aug Wednesday 17:00 Python Practice – 22.08.10.
Create a Rocketclass with two attributes: nameand destination. SpaceRocketclass is the inherited class from the base class Rocket. Besides the two attributes the base class has, SpaceRocketclass has an attribute maker.
The Rocketclass has a method called launch(), it returns a string like “Falcon 9(which is name) is launched to low Earth orbit(which is destination)”
The SpaceRocketclass has a method called get_maker(), it returns a string like “Falcon 9(which is name) is launched by Space X(which is the maker)”
Write a main program to test your program