Skip to content

Conversation

@babblebey
Copy link
Owner

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 tup
mySiblings = ('Susan', 'James', 'Bryan')

# accessing an element within a tuple:

mySiblings[2]

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Star Rating (⭐ 1-5): ⭐⭐⭐⭐⭐

Feedback:

  • The style remains formal, clear, and beginner-friendly.
  • The content is accurate and correct.
  • The sections follow the required flow: concise definition, expanded explanation, relevant code example (correctly prefixed).
  • Formatting requirements are met; "Meaning" and "Explanation" are not used as section headers, and "Example:" is properly formatted.
  • No fluff or repetition of the title in the body.
  • The minor change from "tuple" to "tup" in the example is not best practice, but it does not harm clarity or adherence to rules.

Suggested Fix (if needed):
No changes needed. The body aligns well with the jargons.dev writing rules.

AI-generated content by word-review may be incorrect.

💰 Usage Report ⇅ 1.5kt 0.396¢ 4179ms
Model Label $ ⏱️
openai:gpt-4.1-2025-04-14 - 1.3kt 160t 1.5kt 0.396¢ 4179ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants