Python Learning
5.93K subscribers
453 photos
1 video
64 files
109 links
Python Coding resources, Cheat Sheets & Quizzes! πŸ§‘β€πŸ’»

Free courses: @bigdataspecialist

@datascience_bds
@github_repositories_bds
@coding_interview_preparation
@tech_news_bds

DMCA: @disclosure_bds

Contact: @mldatascientist
Download Telegram
What is an F-String in Python?
❀4
Looks neat, right? But let’s slow down.

The *b syntax is called extended iterable unpacking. It grabs everything in the middle of the list, leaving the first item (a) and the last (c) outside the star. This pattern is super handy, but can also behave unexpectedly if you assume it’ll grab just one item or not consider the structure of the data.

The starred variable always gets a list, and it can be empty so plan accordingly when unpacking, especially in function arguments or loops.
For example: Consider the following code
x, *y = [42]
print(y)  # []


No error, but y is just an empty list! Unpacking doesn’t always fill every name the way you might guess.
❀1πŸ‘1
Given the above Python code, what will be printed?
Anonymous Quiz
14%
"hello"
70%
"olleh"
10%
"" (empty string)
7%
Error
❀2
❀1
What will be Printed?
Anonymous Quiz
66%
"abababc"
6%
"abababcc"
15%
"abcabcabc"
14%
Error
Selection Sort Using Python
πŸ‘2❀1
Collection Data Types in Python
πŸ‘4❀3
What will be the output for the above code?
Anonymous Quiz
35%
2.5
48%
2
4%
3
12%
Error
The input function in Python
❀4
Data Structure in Python.pdf
3.3 MB
❀6πŸ”₯1πŸ₯°1
140+ Python Practice Programs - For Real Learning, Not Just Theory

Struggling with Python logic?

Here's over 140 real Python programs that will help you to understand how code actually works-beyond the tutorials.

From basics to interview-level logic:
Arithmetic & conversions
Loops, Recursion, Lists, Arrays
Prime, Fibonacci, Armstrong logic
Matrices, Sorting, Factorials & more

Python pdf
❀5πŸ‘1
Python CheatSheet
❀2
Types of Opertors in Python
πŸš€ Free & Relevant Books for Data Science (2025) πŸ“š

Want to sharpen your Python & DS skills without outdated material? Here are some modern, still-relevant free books πŸ‘‡

1️⃣ Python Data Science Handbook – Jake VanderPlas
πŸ”— https://jakevdp.github.io/PythonDataScienceHandbook
Core libs: NumPy, Pandas, Matplotlib, Scikit-Learn. Updated + interactive notebooks.

2️⃣ Python for Data Analysis (3rd Ed.) – Wes McKinney
πŸ”— https://github.com/wesm/pydata-book
By the creator of Pandas. Modern data wrangling & cleaning.

3️⃣ Dive into Deep Learning (D2L.ai)
πŸ”— https://d2l.ai
Hands-on deep learning with PyTorch & TensorFlow. University-level, interactive.

4️⃣ Minimalist Data Wrangling with Python (2023) – Marek Gagolewski
πŸ”— https://arxiv.org/abs/2211.04630
Practical workflows for real-world messy data.


5️⃣ Machine Learning with PyTorch & Scikit-Learn – Raschka et al.
πŸ”— https://github.com/rasbt/machine-learning-book
End-to-end ML with clean, modern Python code.

✨ Start with VanderPlas & McKinney for core skills, then move to Raschka/D2L for ML.
❀3