Tag

tuple

1 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2025 · Fundamentals

Python Built-in Data Structures: Lists, Sets, Dictionaries, and Tuples

This article introduces Python's core built‑in data structures—lists, sets, dictionaries, and tuples—explaining their characteristics, typical use cases, and providing clear code examples for creation, modification, and access.

Data StructuresPythondictionary
0 likes · 4 min read
Python Built-in Data Structures: Lists, Sets, Dictionaries, and Tuples
Code Mala Tang
Code Mala Tang
May 3, 2025 · Fundamentals

When to Use Python Lists vs Tuples: A Practical Guide

This article explains the differences between Python lists and tuples, covering their definitions, mutable vs immutable nature, syntax, performance, common pitfalls, and best-use scenarios such as dynamic collections, fixed data, and dictionary keys, with clear code examples.

Data StructuresImmutableMutable
0 likes · 9 min read
When to Use Python Lists vs Tuples: A Practical Guide
php中文网 Courses
php中文网 Courses
Mar 25, 2025 · Fundamentals

Common Python Data Structures: List, Tuple, Set, and Dictionary

This article introduces Python's four fundamental data structures—list, tuple, set, and dictionary—explaining their characteristics, creation syntax, and typical operations to help readers choose the appropriate structure for different programming scenarios.

Data StructuresPythondictionary
0 likes · 8 min read
Common Python Data Structures: List, Tuple, Set, and Dictionary
Test Development Learning Exchange
Test Development Learning Exchange
Feb 26, 2025 · Fundamentals

Understanding Python Tuples: Definition, Features, and Practical Examples

This article introduces Python tuples, explaining their immutable ordered nature, core characteristics, and provides eleven practical code examples ranging from basic definition and indexing to unpacking, concatenation, using tuples as dictionary keys, and converting them to lists, illustrating common use cases and best practices.

Data StructureExampleImmutable
0 likes · 8 min read
Understanding Python Tuples: Definition, Features, and Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
Feb 12, 2025 · Fundamentals

Understanding Python Tuples: Immutable Sequences and Their Uses

This article explains Python tuples as immutable sequence types, covering their characteristics such as immutability, multiple return values, unpacking, use as dictionary keys, iteration, performance benefits, and practical examples to help write clearer and safer code.

Data StructuresImmutableprogramming
0 likes · 4 min read
Understanding Python Tuples: Immutable Sequences and Their Uses
Python Programming Learning Circle
Python Programming Learning Circle
Jul 27, 2022 · Fundamentals

Understanding Shallow and Deep Copy in Python

This article explains how Python variables reference objects in memory, distinguishes between shallow and deep copying, demonstrates three common copying techniques (slicing, factory functions, and the copy method) with lists and tuples, and shows how to use the copy module for deep copies.

PythonReferencecopy module
0 likes · 6 min read
Understanding Shallow and Deep Copy in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jul 20, 2022 · Fundamentals

Understanding Python's Composite Data Types: Tuple, List, Set, and Dictionary

This article explains Python's four main composite data types—tuple, list, set, and dictionary—detailing their characteristics, typical operations, performance considerations, and appropriate usage scenarios, while providing code examples and practical guidance for selecting the right structure in different programming contexts.

Data StructuresPythondictionary
0 likes · 7 min read
Understanding Python's Composite Data Types: Tuple, List, Set, and Dictionary
Model Perspective
Model Perspective
May 28, 2022 · Fundamentals

Master Python’s Core Data Structures: Lists, Tuples, Dictionaries, and Sets

Explore Python’s fundamental composite data structures—lists, tuples, dictionaries, and sets—covering creation, indexing, modification, common methods, and built‑in functions like sum, len, max, and min, with clear code examples illustrating each operation in practice.

Data StructuresPythondictionary
0 likes · 5 min read
Master Python’s Core Data Structures: Lists, Tuples, Dictionaries, and Sets
Python Programming Learning Circle
Python Programming Learning Circle
May 4, 2022 · Fundamentals

Common Python Interview Questions and Answers

This article provides concise explanations of ten fundamental Python topics, covering differences between lists and tuples, arrays and lists, append versus extend, equality operators, shallow and deep copying, loop control statements, variable scopes, range versus xrange, decorators, and the concepts of iterators and generators.

CopyGeneratorIterator
0 likes · 7 min read
Common Python Interview Questions and Answers
Python Programming Learning Circle
Python Programming Learning Circle
Apr 17, 2021 · Fundamentals

Python Comprehensions: List, Tuple, Dictionary, and Set

This article explains Python's comprehension syntax for lists, tuples, dictionaries, and sets, detailing their structures, execution order, and practical examples—including filtering, nested loops, and conditional logic—while showing how to convert generator objects and highlighting common use cases.

comprehensiondictionarylist
0 likes · 11 min read
Python Comprehensions: List, Tuple, Dictionary, and Set
Python Programming Learning Circle
Python Programming Learning Circle
Mar 28, 2021 · Fundamentals

Python Lists, Tuples, and Dictionaries: Definitions, Operations, and Traversal

This article introduces Python’s core data structures—lists, tuples, and dictionaries—explaining their definitions, common operations such as adding, modifying, searching, deleting, sorting, nesting, and how to iterate over them, accompanied by clear code examples.

Data Structuresbasicsdictionary
0 likes · 8 min read
Python Lists, Tuples, and Dictionaries: Definitions, Operations, and Traversal
Practical DevOps Architecture
Practical DevOps Architecture
Mar 9, 2021 · Fundamentals

Python Data Types: Tuple and String

This article introduces Python's immutable tuple and string data types, explains their characteristics, demonstrates how to convert between tuples, lists, and strings, and provides practical code examples for common operations such as indexing, slicing, counting, and formatted printing.

Data TypesPythonfundamentals
0 likes · 5 min read
Python Data Types: Tuple and String
JD Retail Technology
JD Retail Technology
Nov 13, 2020 · Mobile Development

JDTuple: Implementing a Tuple Data Structure in Objective‑C for Simplified Parameter Handling

This article introduces JDTuple, an Objective‑C tuple library that uses variadic functions, type encodings, and macro tricks to pack arbitrary values, provide key‑based and sequential unpacking, and simplify multi‑parameter passing and return values in iOS development.

DataStructureMacroObjective-C
0 likes · 18 min read
JDTuple: Implementing a Tuple Data Structure in Objective‑C for Simplified Parameter Handling
360 Tech Engineering
360 Tech Engineering
Jun 6, 2020 · Frontend Development

Understanding JavaScript Record & Tuple Proposal: Immutable Value Types and Their Benefits

This article explains the Stage‑1 JavaScript Record & Tuple proposal, showing how the new immutable value types are created with a leading #, how they differ from objects by using value‑based comparison, and why they improve deep equality, sharing, non‑destructive updates, and usage in Maps and Sets.

ECMAScriptImmutableJavaScript
0 likes · 10 min read
Understanding JavaScript Record & Tuple Proposal: Immutable Value Types and Their Benefits
Python Programming Learning Circle
Python Programming Learning Circle
Apr 14, 2020 · Fundamentals

Understanding Python Tuples: Creation, Usage, and Benefits

This article explains Python tuples, contrasting them with lists, covering their immutable nature, how they enable functions to return multiple values, performance advantages, creation syntax, updating via slicing, deletion, and membership operations, all illustrated with clear code examples.

Data StructuresImmutablePerformance
0 likes · 6 min read
Understanding Python Tuples: Creation, Usage, and Benefits
Python Programming Learning Circle
Python Programming Learning Circle
Mar 17, 2020 · Fundamentals

Understanding Python Tuples: Indexing, Slicing, Concatenation, and Built‑in Functions

This article explains Python tuples as immutable ordered collections, covering their creation, indexing (including negative indices), slicing with optional stride, concatenation and replication operators, and useful built‑in functions such as len, max, and min, while contrasting tuples with lists.

ImmutableIndexingbuilt-in-functions
0 likes · 8 min read
Understanding Python Tuples: Indexing, Slicing, Concatenation, and Built‑in Functions
Test Development Learning Exchange
Test Development Learning Exchange
Aug 29, 2018 · Fundamentals

Understanding Python's range() Function: Syntax, Parameters, and Examples

This article explains Python's range() function, detailing its return type differences between Python 2 and 3, syntax variations, parameter meanings, and provides multiple code examples illustrating usage with various start, stop, and step values, as well as converting the result to lists or tuples.

Pythoniterationlist
0 likes · 3 min read
Understanding Python's range() Function: Syntax, Parameters, and Examples