i wanted to know the difference between copy composed objects and independent objects<br><br><br clear="all">composed objects<br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
        <title></title>
        <meta name="GENERATOR" content="OpenOffice.org 3.0  (Linux)">
        <style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>

<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
firstserie = all_2_digests([’EcoRI’, ’HindIII’, ’BamHI’])</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
firstserie</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’HindIII’], [’EcoRI’, ’BamHI’], [’HindIII’, ’BamHI’]]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie = firstserie[1:]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’BamHI’], [’HindIII’, ’BamHI’]]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie[1][0]=’SarI’</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’BamHI’], [’SarI’, ’BamHI’]]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
firstserie</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’HindIII’], [’EcoRI’, ’BamHI’], [’SarI’, ’BamHI’]]</font></font></p>
<br><br>independent objects<br><br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
        <title></title>
        <meta name="GENERATOR" content="OpenOffice.org 3.0  (Linux)">
        <style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>

<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
firstserie = all_2_digests([’EcoRI’, ’HindIII’, ’BamHI’])</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
firstserie</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’HindIII’], [’EcoRI’, ’BamHI’], [’HindIII’, ’BamHI’]]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
import copy</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie = copy.deepcopy(firstserie)[1:]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’BamHI’], [’HindIII’, ’BamHI’]]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie[1][0]=’SarI’</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
newserie</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’BamHI’], [’SarI’, ’BamHI’]]</font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">>>>
firstserie</font></font></p>
<p style="margin-bottom: 0cm;"><font face="Courier, monospace"><font style="font-size: 9pt;" size="2">[[’EcoRI’,
’HindIII’], [’EcoRI’, ’BamHI’], [’HindIII’, ’BamHI’]]</font></font></p>
<p style="margin-bottom: 0cm;"><br></p><p style="margin-bottom: 0cm;">i want to know the difference in the context of this program<br>
</p>
<br>-- <br>madhuri :)<br><br>