sometimes you'll want to store set of dictionaries in list or list of items as value in dictionary this is called nesting you can nest set of dictionaries inside lista list of items inside dictionaryor even dictionary inside another dictionary nesting is powerful featureas the following examples will demonstrate list of dictionaries the alien_ dictionary contains variety of information about one alienbut it has no room to store information about second alienmuch less screen full of aliens how can you manage fleet of aliensone way is to make list of aliens in which each alien is dictionary of information about that alien for examplethe following code builds list of three aliensaliens py alien_ {'color''green''points' alien_ {'color''yellow''points' alien_ {'color''red''points' aliens [alien_ alien_ alien_ for alien in aliensprint(alienwe first create three dictionarieseach representing different alien at we pack each of these dictionaries into list called aliens finallywe loop through the list and print out each alien{'color''green''points' {'color''yellow''points' {'color''red''points' more realistic example would involve more than three aliens with code that automatically generates each alien in the following example we use range(to create fleet of aliensmake an empty list for storing aliens aliens [make green aliens for alien_number in range( ) new_alien {'color''green''points' 'speed''slow' aliens append(new_alienshow the first aliensx for alien in aliens[: ]print(alienprint("show how many aliens have been created print("total number of aliensstr(len(aliens))dictionaries