Main.PythonTuples History
Hide minor edits - Show changes to markup
May 01, 2007, at 01:19 PM EST
by -
Changed lines 5-7 from:
- Tuples are immutable, so that means they can't be change them.
- We use parenthesis instead of brackets.
- Tuple will be separated by commas.
to:
- Tuples are immutable, so that means they can't be change the values.
- We use parenthesis instead of brackets.
- Tuple will be separated by commas.
- Tuples have heterogeneous elements, so they can be from any type. example:
>>> myTuple = ('text', 2, a['1',0,'blah'])
>>> myTuple
('text', 2, a['1',0,'blah'])
- We can omit the wrapping delimiters
May 01, 2007, at 12:20 AM EST
by -
Changed lines 4-7 from:
[*] Very similar to lists [*] Tuples are immutable, so that means they can't be change them. [*] We use parenthesis instead of brackets. [*] Tuple will be separated by commas.
to:
- Very similar to lists
- Tuples are immutable, so that means they can't be change them.
- We use parenthesis instead of brackets.
- Tuple will be separated by commas.
May 01, 2007, at 12:19 AM EST
by -
Changed lines 1-7 from:
- Recording on Tuples
to:
- Recording on Tuples
Description
[*] Very similar to lists [*] Tuples are immutable, so that means they can't be change them. [*] We use parenthesis instead of brackets. [*] Tuple will be separated by commas.
April 24, 2007, at 10:28 AM EST
by -
Added line 1:
- Recording on Tuples
