Changes

Jump to: navigation, search

OPS435 Python Lab 4

76 bytes removed, 09:47, 14 June 2017
PART 1 - Tuples
print(list2)
</source>.You should have been successful in changing the value of your list.<br><br>
:#Now, try 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>
13,420
edits

Navigation menu