Lists and Tuples in Python

Most programming languages have specific data structures to store sequences of elements indexed by their position: numbered from the first to the last. Previously, we explored Python strings, which are essentially sequences of characters. Next, we will delve into lists. In addition to strings, Python has two other sequence structures: tuples and lists. Both can … Read more

Creating a New Project in Keli MDK5

Creating a New Project in Keli MDK5

Scan to follow Chip Dynamics , say goodbye to “chip” blockage! Search WeChatChip DynamicsHow to Create a New Project Today we will learn how to create an STM32 project using Keli. Before creating the project, we need to create a folder in a directory on the computer where we can place all the projects we … Read more

Fundamentals of Python: Lists

Fundamentals of Python: Lists

Table of Contents Part One: Basics of Lists Creating and Basic Operations of Lists List Indexing and Slicing Common List Methods List Comprehensions Part Two: Advanced Applications of Lists Multidimensional Lists (Nested Lists) Lists and Functions List Sorting and Searching Part One: Basics of Lists 1. Creating and Basic Operations of Lists # 1.1 Various … Read more

Python Basics (Part 6) – Data Indexing and List Operations

Python Basics (Part 6) - Data Indexing and List Operations

Data Indexing Supplementing the content of Chapter 5: In Python, indexing is applicable to various iterable and accessible data structures. Indexing is typically used to access elements by position (index) or key. The following are the main Python data structures suitable for indexing operations: Data structures that support indexing: Strings (str): Individual characters can be … Read more

Python Interview Notes: How to Choose Between Lists and Arrays?

Python Interview Notes: How to Choose Between Lists and Arrays?

📣 What Inspired This Series? The inspiration came from the real questions I encountered while preparing for Python interviews! đź’ˇ I decided to use the Feynman Learning Technique— “learning by teaching”—to solidify my understanding through explanation. While organizing and sharing, I hope to: 🔹 Help myself└── Clear knowledge gaps → Strengthen theoretical foundations → Understand … Read more

Lists and List Items in FreeRTOS

Lists and List Items in FreeRTOS

Click below“Information Technology Person”Follow to explore information technology together Lists and List Items in FreeRTOS 1. Introduction to Lists and List Items (Familiarize) 1. What is a List Answer: A list is a data structure in FreeRTOS that conceptually resembles a linked list, used to track tasks in FreeRTOS. 2. What is a List Item … Read more

A Comprehensive Guide to Python Lists: From Beginner to Expert

A Comprehensive Guide to Python Lists: From Beginner to Expert

In the Python programming language, a list is a very basic and important data structure. It allows us to store a sequence of ordered elements, which can be of any type, including numbers, strings, other lists, etc. Python’s lists provide a flexible way to organize and manipulate data. 1. Creating Lists Lists can be created … Read more

Basics of CMake: CMakeLists.txt

Basics of CMake: CMakeLists.txt

# File name: CMakeLists.txt # Set the minimum required CMake version to 3.15 cmake_minimum_required(VERSION 3.15) # Set the project name to MyProject, version number to 1.0 project(MyProject VERSION 1.0) # Set compilation options, set C++ standard to C++17 set(CMAKE_CXX_STANDARD 17) # Force the compiler to support the specified C++ standard (C++17 in this case), # … Read more

Day 12: Complete Guide to Lists in Python | Manipulating Data Collections Like Building Blocks

Day 12: Complete Guide to Lists in Python | Manipulating Data Collections Like Building Blocks

🌟 1. Lists: The Universal Storage Box for Data Programming Truth: Lists are the most widely used data structure in Python, capable of storing any type of data, like a mutable “magic array”! Life Scenario Analogy: List → Train carriages (elements are passengers, who can get on and off at any time) Index → Seat … Read more

CLion Tutorial – CMakeLists.txt in CLion

CLion Tutorial - CMakeLists.txt in CLion

CMakeLists.txt file contains a set of instructions and descriptions that define the source files and targets (executable files, libraries, or both) of a project. When you create a new project, CLion automatically generates a CMakeLists.txt file and places it in the project root directory. To open the project, you can point CLion to the top-level … Read more