@@ -11,7 +11,7 @@ In this section, you’ll learn:
1111
1212---
1313
14- ## 🧩 1. What are Data Structures?
14+ ## 🧩 What are Data Structures?
1515
1616** Definition:**
1717Data Structures in Python are ** containers used to store, organize, and manipulate data** efficiently.
@@ -24,7 +24,7 @@ They help DevOps engineers manage:
2424
2525---
2626
27- ## 📋 2 . List — Ordered and Mutable Collection
27+ ## 📋 1 . List — Ordered and Mutable Collection
2828
2929** Definition:**
3030A ** list** is an ordered, ** mutable (changeable)** collection of items.
@@ -70,7 +70,7 @@ for s in servers:
7070
7171---
7272
73- ## 🧱 3 . Tuple — Ordered and Immutable Collection
73+ ## 🧱 2 . Tuple — Ordered and Immutable Collection
7474
7575** Definition:**
7676A ** tuple** is an ordered, ** immutable (unchangeable)** collection of items.
@@ -102,7 +102,7 @@ for region in aws_regions:
102102
103103---
104104
105- ## 🔢 4 . Set — Unordered, Unique Collection
105+ ## 🔢 3 . Set — Unordered, Unique Collection
106106
107107** Definition:**
108108A ** set** is an ** unordered collection** that does ** not allow duplicates** .
@@ -135,7 +135,7 @@ Identify common tools between multiple environments (e.g., staging vs production
135135
136136---
137137
138- ## 🔑 5 . Dictionary — Key-Value Pairs (Most Used in DevOps)
138+ ## 🔑 4 . Dictionary — Key-Value Pairs (Most Used in DevOps)
139139
140140** Definition:**
141141A ** dictionary** stores data in ** key-value** pairs.
@@ -195,7 +195,7 @@ for key, value in ec2_instance.items():
195195
196196---
197197
198- ## ⚙️ 6 . Nested Data Structures
198+ ## ⚙️ 5 . Nested Data Structures
199199
200200You can ** combine multiple structures** together — useful for real DevOps JSON-like data.
201201
@@ -231,7 +231,7 @@ for env, srv_list in deployments.items():
231231
232232---
233233
234- ## 🧠 7 . Conversion Between Data Structures
234+ ## 🧠 6 . Conversion Between Data Structures
235235
236236### Examples:
237237
@@ -252,7 +252,7 @@ print(list(data.values()))
252252
253253---
254254
255- ## 🧰 8 . DevOps Real-world Examples
255+ ## 🧰 7 . DevOps Real-world Examples
256256
257257### ✅ Example 1: Parse JSON from AWS CLI
258258
@@ -295,7 +295,7 @@ print("Common Tools:", common)
295295
296296---
297297
298- ## 🧾 9 . Summary
298+ ## 🧾 8 . Summary
299299
300300| Data Structure | Ordered | Mutable | Allows Duplicates | Example |
301301| -------------- | ------------------------------ | ------- | ------------------- | ------------------ |
0 commit comments