Tagged articles
assignment
13 articles · Page 1 of 1
This note explains how Python variable assignment creates references, demonstrates the differences between shallow and deep copying of lists, and provides concrete code examples showing how modifications affect original and copied objects for both one‑dimensional and multi‑dimensional lists.
Deep CopyListPython
0 likes · 3 min read

The article reveals how the Python assignment operator creates references instead of copies, leading to accidental data loss, and walks through safe copying techniques (.copy(), list(), [:]) with concrete examples, performance benchmarks, and guidance for nested structures.
Deep CopyPythonShallow Copy
0 likes · 8 min read

This article introduces Python's arithmetic, comparison, and assignment operators, explaining their syntax and usage through clear code examples that illustrate common scenarios such as calculating totals, performing scientific calculations, and validating user input.
ArithmeticCode ExamplesPython
0 likes · 6 min read

This article explains Python's arithmetic, assignment, comparison, Boolean, and bitwise operators, provides example code for each, and outlines the language's operator precedence rules to help developers write correct and readable expressions.
Arithmeticassignmentbitwise
0 likes · 8 min read

This article introduces Python variables, describing their three components—name, assignment operator, and value—while covering naming rules, common naming conventions such as snake_case, camelCase, and uppercase constants, and explaining the id, type, and value properties with examples.
Pythonassignmentnaming conventions
0 likes · 4 min read

This article explains Python variables, covering their definition as memory containers, naming conventions, assignment syntax, reassignment, using variables in expressions and functions, and illustrates Python's weak typing compared to strong‑typed languages with code examples.
Pythonassignmentprogramming basics
0 likes · 7 min read

This tutorial explains the fundamental differences between variables and constants in Python, demonstrates how variables are created, assigned, and typed, shows multiple assignment techniques, and clarifies why constants are merely a naming convention, all with clear code examples and illustrations.
assignmentconstantsprogramming fundamentals
0 likes · 7 min read

This article explains Python variables and constants, how to assign values using the = operator, naming rules, reassignment, expression assignment, variable usage in expressions, and the characteristics of Python as a weakly typed language with type‑checking examples.
Pythonassignmentvariables
0 likes · 6 min read

This article explains how Kafka producers decide which partition to send messages to, how topic partition counts are configured, and how consumer groups assign partitions to instances using default range and round‑robin strategies, with code examples for illustration.
ConsumerKafkaassignment
0 likes · 17 min read

This article provides a comprehensive overview of Scala's built-in operators, detailing arithmetic, relational, logical, bitwise, and assignment operators with descriptions, example tables, and runnable code snippets illustrating their usage and precedence in practice.
ArithmeticLogicalScala
0 likes · 13 min read

This article explains how Python stores variables in memory, covers variable assignment, multiple assignments, the five standard data types (numbers, strings, lists, tuples, dictionaries), and shows how to convert between types using built‑in functions, illustrated with code examples and output images.
Type Conversionassignmentdata types
0 likes · 9 min read

This article explains Python's variable storage model and demonstrates how assignment, shallow copy, and deep copy affect object references and memory addresses for immutable and mutable types, using string and list examples to illustrate the differences.
Deep CopyImmutableMemory
0 likes · 4 min read

This article provides a comprehensive guide to Python variables, covering their characteristics, how to assign and reassign values, multiple assignment techniques, the five built‑in data types, numeric and string operations, list, tuple, dictionary usage, and type conversion functions.
assignmentdata typesfundamentals
0 likes · 9 min read
