13,420
edits
Changes
→PART 1 - Tuples
:Term to indicate that a data structure cannot be changed is called '''immutable''' (as opposed to ''"mutable"'' which means the data structure can be changed).
:'''Perform the Following Steps:'''
print(list2)
</source>.You should have been successful in changing the value of your list.<br><br>
:#Try Now, try changing a tuple value.by issuing the following:<source>
t2[1] = 10
</source>sourc:#Did it work? Once created the tuple values will not be able to change. If you would like a tuple with different values than the tuple you currently have, you must create a new one.<br><br>:#To create a new tuple, issue the following:<source>
t3 = t2[2:3]
</source>