four strings or numbers ( =[ , , , ]thenexperiment with the following boundary cases you may never see these cases in real programs (especially not in the bizarre ways they appear here!)but they are intended to make you think about the underlying modeland some may be useful in less artificial forms--slicing out of bounds can helpfor exampleif sequence is as long as you expecta what happens when you try to index out of bounds ( [ ]) what about slicing out of bounds ( [- : ]) finallyhow does python handle it if you try to extract sequence in reversewith the lower bound greater than the higher bound ( [ : ])hinttry assigning to this slice ( [ : ]=['?'])and see where the value is put do you think this may be the same phenomenon you saw when slicing out of bounds indexingslicingand del define another list with four itemsand assign an empty list to one of its offsets ( [ ]=[]what happensthenassign an empty list to slice ( [ : ]=[]what happens nowrecall that slice assignment deletes the slice and inserts the new value where it used to be the del statement deletes offsetskeysattributesand names use it on your list to delete an item ( del [ ]what happens if you delete an entire slice (del [ :])what happens when you assign nonsequence to slice ( [ : ]= ) tuple assignment type the following linesx 'spamy 'eggsxy yx what do you think is happening to and when you type this sequence dictionary keys consider the following code fragmentsd { [ 'ad[ 'byou've learned that dictionaries aren' accessed by offsetsso what' going on heredoes the following shed any light on the subject(hintstringsintegersand tuples share which type category? [( )'cd { ' ' ' '( )' ' dictionary indexing create dictionary named with three entriesfor keys ' '' 'and 'cwhat happens if you try to index nonexistent key ( [' '])what does python do if you try to assign to nonexistent key ' ( [' ']='spam')how does this compare to out-of-bounds assignments and references for listsdoes this sound like the rule for variable names generic operations run interactive tests to answer the following questions tuplesfilesand everything else