Skip to content

Conversation

@sbabblebey
Copy link
Contributor

Word

Tuple

Updated Meaning/Definition

A tuple is a data structure that is an immutable, or unchangeable, ordered sequence of elements. Because tuples are immutable, their values cannot be modified.

As a general rule, tuples use less memory than a list or array.

Tuples allows for slicing and indexing like lists, but do not have methods for deleting or changing any elements.

Example

# creating a tuple 
mySiblings = ('Susan', 'James', 'Bryan')

# accessing an element within a tuple:

mySiblings[2]

@babblebey babblebey added the wontfix This will not be worked on label Aug 31, 2025
@babblebey babblebey marked this pull request as draft October 24, 2025 20:56
@babblebey babblebey marked this pull request as ready for review October 24, 2025 20:56
@babblebey babblebey marked this pull request as draft October 24, 2025 21:31
@babblebey babblebey marked this pull request as ready for review October 24, 2025 21:31
@babblebey babblebey marked this pull request as draft October 24, 2025 21:59
@babblebey babblebey marked this pull request as ready for review October 24, 2025 21:59
@babblebey babblebey marked this pull request as draft October 24, 2025 22:09
@babblebey babblebey marked this pull request as ready for review October 24, 2025 22:09
@babblebey babblebey marked this pull request as draft October 24, 2025 23:18
@babblebey babblebey marked this pull request as ready for review October 24, 2025 23:18
@babblebey babblebey marked this pull request as draft October 24, 2025 23:57
@babblebey babblebey marked this pull request as ready for review October 24, 2025 23:57
@babblebey babblebey marked this pull request as draft October 25, 2025 00:03
@babblebey babblebey marked this pull request as ready for review October 25, 2025 00:03
@babblebey babblebey marked this pull request as draft October 25, 2025 00:18
@babblebey babblebey marked this pull request as ready for review October 25, 2025 00:18
@babblebey babblebey marked this pull request as draft October 25, 2025 00:35
@babblebey babblebey marked this pull request as ready for review October 25, 2025 00:35
@babblebey babblebey requested review from babblebey and removed request for babblebey October 25, 2025 00:40
@babblebey babblebey marked this pull request as draft October 25, 2025 03:23
@babblebey babblebey marked this pull request as ready for review October 25, 2025 03:24
@babblebey babblebey marked this pull request as draft October 25, 2025 03:46
@babblebey babblebey marked this pull request as ready for review October 25, 2025 03:46
@babblebey babblebey marked this pull request as draft October 25, 2025 03:48
@babblebey babblebey marked this pull request as ready for review October 25, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants