Learn Python Coding
38.7K subscribers
1.06K photos
37 videos
24 files
853 links
Learn Python through simple, practical examples and real coding ideas. Clear explanations, useful snippets, and hands-on learning for anyone starting or improving their programming skills.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
πŸ“š Python-Based Data Structures and Algorithms (2023)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/974

πŸ’¬ Tags: #dsa

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘4
πŸ“š Data Structures and Algorithms with Python (2023)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1054

πŸ’¬ Tags: #dsa

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘6
πŸ“š Data structures and Algorithms with python (2024)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1193

πŸ’¬ Tags: #DSA

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘12πŸ’―1
πŸ“š Data Structures & Algorithms in Go (2018)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1244

πŸ’¬ Tags: #DSA #Go

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘5
πŸ“š Data Structures and Algorithms with Go (2024)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1410

πŸ’¬ Tags: #DSA #GO

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘10
πŸ“š Introductory Data Structures and Algorithms (2024)

1️⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2️⃣ Download Book: https://t.me/c/1854405158/1453

πŸ’¬ Tags: #DSA

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘11❀2
πŸ“š Data Structures the Fun Way (2024)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1611

πŸ’¬ Tags: #DSA

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘9❀2
πŸ“š Python Exercises with Data Structures and Algorithms (2024)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1646

πŸ’¬ Tags: #DSA

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘12
πŸ“š Algorithms and Data Structures with Python (2024)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1676

πŸ’¬ Tags: #DSA

πŸ‘‰ BEST DATA SCIENCE CHANNELS ON TELEGRAM πŸ‘ˆ
πŸ‘7❀2
πŸ“š Data Structure and Algorithm (2024)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1818

πŸ’¬ Tags: #DSA

USEFUL CHANNELS FOR YOU
πŸ‘1
πŸ“š Data Structure in Python (2024)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1827

πŸ’¬ Tags: #dsa

USEFUL CHANNELS FOR YOU
πŸ“š Python Data Structures and Algorithms (2017)

1⃣ Join Channel Download:
https://t.me/+MhmkscCzIYQ2MmM8

2⃣ Download Book: https://t.me/c/1854405158/1954

πŸ’¬ Tags: #DSA

USEFUL CHANNELS FOR YOU
πŸ‘2
Open Guide to Data Structures and Algorithms

A must-read for anyone starting their journey in computer science and programming. This open-access book offers a clear, beginner-friendly introduction to the core concepts of data structures and algorithms, with simple explanations and practical examples. Whether you're a student or a self-learner, this guide is a solid foundation to build your DSA knowledge. Highly recommended for those who want to learn efficiently and effectively.

Read it here:
https://pressbooks.palni.org/anopenguidetodatastructuresandalgorithms

#DSA #Algorithms #DataStructures #ProgrammingBasics #CSforBeginners #OpenSourceLearning #CodingJourney #TechEducation #ComputerScience #PythonBeginners

⚑️ BEST DATA SCIENCE CHANNELS ON TELEGRAM 🌟
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘4πŸ”₯2
"Data Structures & Algorithms using Python"

This book covers all types of data structures from Arrays to Graphs. Simple to complex algorithms. πŸ’― FREE.

Download it: https://donsheehy.github.io/datastructures/fullbook.pdf

#python #OOP #DSA

βœ‰οΈ Our Telegram channels: https://t.me/addlist/0f6vfFbEMdAwODBk

πŸ“± Our WhatsApp channel: https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
πŸ‘4❀1
Topic: Linked Lists in Python – Part 1: Introduction and Singly Linked List Basics

---

What is a Linked List?

β€’ A linked list is a linear data structure where each element (called a node) contains:

β€’ The data value.
β€’ A pointer (or reference) to the next node.

β€’ Unlike arrays, linked lists don’t require contiguous memory and can grow dynamically.

---

Why Use Linked Lists?

β€’ Efficient insertions/deletions at the beginning or middle.
β€’ No need for pre-defining size, unlike arrays.
β€’ Used in memory-efficient applications like OS kernels, compilers, and real-time systems.

---

Types of Linked Lists

β€’ Singly Linked List – Each node points to the next.
β€’ Doubly Linked List – Nodes have next and previous pointers.
β€’ Circular Linked List – The last node points back to the head.

---

Basic Structure of a Node

class Node:
def __init__(self, data):
self.data = data
self.next = None


---

Building a Singly Linked List

class LinkedList:
def __init__(self):
self.head = None

def append(self, data):
new_node = Node(data)

if not self.head:
self.head = new_node
return

current = self.head
while current.next:
current = current.next
current.next = new_node


---

Traversing the List

def display(self):
current = self.head
while current:
print(current.data, end=" -> ")
current = current.next
print("None")


Usage:

ll = LinkedList()
ll.append(10)
ll.append(20)
ll.append(30)
ll.display() # Output: 10 -> 20 -> 30 -> None


---

Inserting at the Beginning

def insert_at_beginning(self, data):
new_node = Node(data)
new_node.next = self.head
self.head = new_node


---

Summary

β€’ A singly linked list stores data as a sequence of nodes linked by references.

β€’ Supports dynamic memory usage, fast insertions, and flexible resizing.

β€’ The key is managing node connections safely and efficiently.

---

Exercise

β€’ Implement a method length() that returns the number of nodes in the list.

---

#DataStructures #LinkedList #DSA #Python #CodingBasics

https://t.me/DataScience4
❀3