let listOfPlanet = ["The Sun","Venus","Earth","Mars","mercury"] let planet = Planet(list:listOfPlanet) planet[2] // Earth