@Codingdidi
8.03K subscribers
30 photos
7 videos
50 files
319 links
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
Download Telegram
πŸš€ WEEKEND PROJECT

Banao apna Password Generator!

Features:
βœ… Random password (8-16 chars)
βœ… Include numbers, symbols
βœ… Copy to clipboard
βœ… Save to file

Libraries needed:
β€’ random
β€’ string
β€’ pyperclip

⏰ Time: 2-3 hours

Interested? React with πŸ”₯ and I'll share full tutorial!

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
πŸ“Š WEEK 1 COMPLETE! πŸŽ‰

Is hafte humne seekha:
βœ… List comprehension
βœ… Reddit freelancing
βœ… Free resources
βœ… FizzBuzz challenge
βœ… Password generator idea

πŸ“Œ POLL: Next week kya seekhna hai?

A) Web scraping basics
B) Excel automation
C) Discord bot tutorial
D) Data analysis

Reply with A/B/C/D! πŸ‘‡

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
❀2
🐍 PYTHON TRICK #2

❌ Old way (2015):
name = "Amit"
age = 25
print("Name: {}, Age: {}".format(name, age))

βœ… Modern way (2024):
print(f"Name: {name}, Age: {age}")

πŸ’‘ F-strings are:
β€’ Faster
β€’ Cleaner
β€’ More readable

Bonus:
print(f"Result: {5 + 3}") # 8
print(f"Name: {name.upper()}") # AMIT

#Python #FStrings


Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
πŸ’° EARNING TIP #2

Telegram groups se kaam milta hai!

Join these groups:
πŸ“Œ "Freelance Jobs India"
πŸ“Œ "Python Developers India"
πŸ“Œ "Remote Jobs India"
πŸ“Œ "Startup Jobs"

Tips:
βœ… Active raho daily
βœ… DM directly (don't spam)
βœ… Share portfolio
βœ… Build trust

Maine personally β‚Ή8K ka project liya tha!

Note: For telegram you guys needs to be really active, remember to not to pay.

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
🎯 MUST-HAVE VS CODE EXTENSIONS

1️⃣ Python (Microsoft) - Auto-complete
2️⃣ Pylance - Fast IntelliSense
3️⃣ autoDocstring - Auto documentation
4️⃣ Better Comments - Colorful comments
5️⃣ Error Lens - Inline errors
6️⃣ Material Icon Theme - Beautiful icons

Install karo aur coding 10x better! πŸ’ͺ

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
❀2
πŸ“š WEB SCRAPING 101

Simple example - Scrape website titles:

import requests
from bs4 import BeautifulSoup

url = "https://example.com"
response = requests.get(url)
soup = BeautifulSoup(response.text, 'html.parser')

title = soup.find('h1').text
print(title)


Libraries needed:
β€’ requests
β€’ beautifulsoup4

Install: pip install requests beautifulsoup4

Full tutorial chahiye? πŸ‘€

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
πŸ’‘ REAL STORY

6 months ago:
❌ No Python knowledge
❌ No freelancing experience
❌ β‚Ή0 earning

Today:
βœ… 20+ projects completed
βœ… β‚Ή45,000+ total earned
βœ… 3 regular clients

Secret? CONSISTENCY.

Daily:
β€’ 2 hours learning
β€’ 1 hour applying for jobs
β€’ 3 hours working

Tum bhi kar sakte ho! πŸ’ͺ

Kisne start kiya? πŸ™‹

#Motivation #Success #CodingDidi

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
The Smartest Career Upgrade in 2026: Google AI Professional Certificate

The Google AI Professional Certificate equips working professionals with practical skills to integrate AI into their daily work through a modular, hands-on design.

Content: 6 short courses and a capstone project.

Tools Used: Gemini, NotebookLM, and AI Studio.

Outcome: Learners build custom AI-powered solutions and earn a certificate trusted by leading employers.

Exclusive Benefit: Learners receive three months of no-cost access to Google AI Pro to practice within tools like Gmail and Google Docs.

Master AI by Doing: Over 20 hands-on labs solving real-world problems.

Job-Ready Skills: Built using real-world job data to teach exactly what employers want right now.

Future-Proofing: Helps professionals stay ahead in a fast-changing environment by learning directly from Google experts.

Beyond Prompting: Learn to build actual workflows and custom apps to solve workplace challenges


link to enroll: https://imp.i384100.net/JkbeNa

Tap ❀️ for more!
🎯 MINI CHALLENGE #2

Write a function to check if a word is palindrome!

Example:
β€’ "racecar" β†’ True
β€’ "hello" β†’ False
β€’ "madam" β†’ True

Bonus: Ignore spaces & case
"A man a plan a canal Panama" β†’ True

⏰ Time: 15 minutes

Try krke Done Reply karo


Solution tomorrow! πŸ‘€

#CodingChallenge #Python

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
πŸ“Š WEEK 2 COMPLETE! πŸ”₯

This week, we covered:
βœ… F-strings seekhe
βœ… Telegram freelancing tips
βœ… VS Code extensions
βœ… Web scraping intro
βœ… Palindrome challenge

Share with Credit https://t.me/codingdidi

πŸ’¬ Tap ❀️ for more!
These are top 5 data structures and algorithms projects, allowing you to dive deep into the world of DSA πŸ’ͺ🏻

β€’Project 1: Snakes Game (Arrays)

The Snakes Game project is a classic implementation of the popular game
Snake.

This project allows you to understand the concepts of arrays, loops, and conditional statements. You can further enhance the game by incorporating additional features such as score tracking and power-ups.

β€’Project 2: Cash Flow Minimizer (Graphs/ Multisets/Heaps)

The Cash Flow Minimizer project involves solving a cash flow optimization problem using graphs, multisets, and heaps. Given a set of transactions among a group of people, the objective is to minimize the total number of transactions required to settle all debts

β€’Project 3: Sudoku Solver (Backtracking)

The Sudoku Solver project aims to solve the popular Sudoku puzzle using backtracking. This project allows you to understand the backtracking algorithm, which is widely used in solving constraint satisfaction problems.

β€’Project 4: File Zipper (Greedy Huffman
Encoder)

The File Zipper project focuses on implementing a file compression utility using the Greedy Huffman encoding algorithm. This project provides a practical application of the greedy algorithm and helps you understand the trade-offs between
compression ratio and execution time.

β€’Project 5: Map Navigator (Dijkstra’s
Algorithm)

The Map Navigator project aims to develop a navigation system using Dijkstra’s algorithm. It involves finding the shortest path between two locations on a map, considering factors such as distance and traffic.

Share with Credit https://t.me/codingdidi
Tap ❀️ for more!
❀1
πŸ“Œ SQL Subqueries CTEs

1️⃣ What is a Subquery?
A subquery is a query inside another query. It runs first and passes its result to the outer query.

Think like this πŸ‘‡
> β€œFirst find something β†’ then use it to filter or calculate something else”

Why Subqueries exist (business thinking)
Real questions like:
β€’ Find customers who spent more than average
β€’ Find products with highest sales
β€’ Find employees earning more than their manager

These need one query’s result inside another query.

βœ… Basic Subquery Structure
SELECT column
FROM text
WHERE column OPERATOR (
SELECT column
FROM text
);

Example Tables: orders
order_id | customer_id | amount
1 | 101 | 5000
2 | 102 | 8000
3 | 103 | 3000

2️⃣ Subquery in WHERE clause (Most Common)

πŸ”Ή Scenario: Find orders with amount greater than average order value

SELECT *
FROM orders
WHERE amount > (
SELECT AVG(amount)
FROM orders
);

What this query does
1. Inner query calculates average order amount
2. Outer query keeps only orders above that average

βœ… Very common interview question

3️⃣ Subquery with IN
πŸ”Ή Scenario: Find customers who have placed at least one order

Tables: customers(customer_id, name) orders(customer_id)

SELECT name
FROM customers
WHERE customer_id IN (
SELECT customer_id
FROM orders
);

What this query does
β€’ Inner query gets customers who ordered
β€’ Outer query fetches their names

4️⃣ Subquery in SELECT clause

πŸ”Ή Scenario: Show each order with total number of orders
SELECT order_id, amount, (
SELECT COUNT(*)
FROM orders
) AS total_orders
FROM orders;

What this query does
β€’ Inner query runs once
β€’ Adds total order count to every row

⚠️ Use carefully β€” can be inefficient

5️⃣ Correlated Subquery (Important)

A correlated subquery depends on the outer query. It runs once per row.

πŸ”Ή Scenario: Find customers who spent more than their city’s average

Tables: customers(customer_id, city) orders(customer_id, amount)

SELECT c.customer_id
FROM customers c
WHERE (
SELECT AVG(o.amount)
FROM orders o
WHERE o.customer_id = c.customer_id
) > 5000;

What this query does
β€’ For each customer
β€’ Calculates their average spend
β€’ Filters based on condition
⚠️ Powerful but slower on large data

6️⃣ Problems with Subqueries
❌ Hard to read
❌ Hard to debug
❌ Performance issues
❌ Nested logic becomes messy
πŸ‘‰ That’s why CTEs exist

7️⃣ What is a CTE (Common Table Expression)?

A CTE is a named temporary result.
It makes complex queries readable and reusable.

CTE Syntax
WITH cte_name AS (
SELECT ...
)
SELECT *
FROM cte_name;

8️⃣ Same Problem Solved Using CTE (Cleaner)

πŸ”Ή Find customers with total spend > 10,000

WITH customer_spend AS (
SELECT customer_id, SUM(amount) AS total_spend
FROM orders
GROUP BY customer_id
)
SELECT *
FROM customer_spend
WHERE total_spend > 10000;

What this does
β€’ First block calculates spend
β€’ Second block filters results
β€’ Very readable

9️⃣ CTE vs Subquery

β€’ Readability: CTE is excellent, Subquery is poor
β€’ Reusability: CTE is yes, Subquery is no
β€’ Debugging: CTE is easy, Subquery is hard
β€’ Performance: Both depend on usage

πŸ”Ÿ When to Use What?
Use Subquery when:
βœ”οΈ Logic is small
βœ”οΈ Used only once

Use CTE when:
βœ”οΈ Logic is complex
βœ”οΈ Multiple steps
βœ”οΈ Interview or production query

Common Beginner Mistakes
❌ Writing very deep nested subqueries
❌ Using correlated subqueries unnecessarily
❌ Forgetting CTE scope (only valid for one query)

Interview Tip πŸ’‘
> Subqueries solve problems inside queries, while CTEs solve readability and maintainability.

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
❀1
πŸ”€ A–Z of Programming πŸ’»

A – Array
A data structure that stores a collection of elements of the same type, accessed by index.

B – Binary
A base-2 number system using 0s and 1s, the foundation of how computers represent data and perform operations.

C – Class
A blueprint in object-oriented programming for creating objects, defining attributes and methods.

D – Data Structure
An organization of data for efficient access and modification, like lists or trees.

E – Exception
An error or unexpected event during program execution that can be handled to prevent crashes.

F – Function
A reusable block of code that performs a specific task, often taking inputs and returning outputs.

G – Git
A version control system for tracking changes in code, enabling collaboration and history management.

H – HashMap/Hash Table
A data structure storing key-value pairs for fast lookups using hashing.

I – Inheritance
A mechanism where a class inherits properties and methods from a parent class in OOP.

J – JavaScript
A versatile language for web development, handling client-side interactivity and server-side with Node.js.

K – Keyword
A reserved word in a language with special meaning, like "if" or "for", not usable as variable names.

L – Loop
A control structure repeating code until a condition is met, such as for or while loops.

M – Modulus
An operator (%) returning the remainder of division, useful for cycles or checks.

N – Null
A special value indicating absence of data or no object reference.

O – Object
An instance of a class containing data (attributes) and behavior (methods) in OOP.

P – Pointer
A variable storing the memory address of another variable for direct access.

Q – Queue
A FIFO (First-In-First-Out) data structure for processing items in order.

R – Recursion
A function calling itself to solve smaller instances of a problem.

S – Stack
A LIFO (Last-In-First-Out) data structure, like a stack of plates.

T – Testing
Verifying a program's correctness through unit tests, integration, and more.

U – Unicode
A standard encoding characters from all writing systems for global text handling.

V – Variable
A named storage for data that can change during program execution.

W – While Loop
Repeats code while a condition remains true, offering flexible iteration.

X – XOR
A logical operator true if operands differ, used in cryptography and checks.

Y – Yield
A keyword returning a value from a generator, enabling lazy iteration.

Z – Zeroes (numpy.zeros)
Creates an array filled with zeros, useful for initialization.


Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
🐍 PYTHON TRICK #3

❌ Risky way:
data = {'name': 'Raj'}
age = data['age'] # KeyError! πŸ’₯

βœ… Safe way:
age = data.get('age', 'Not found')
print(age) # "Not found"

βœ… Even better:
age = data.get('age', 25) # Default value

πŸ’‘ No more KeyError crashes!

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
🧠 SQL Interview Question (Commonly Asked)
πŸ“Œ

customers(customer_id, customer_name)

orders(order_id, customer_id, order_date, order_amount)

❓ Ques :

πŸ‘‰ Find customers who have at least one high-value order (order_amount > 10,000) AND at least one low-value order (order_amount < 1,000).

🧩 How Interviewers Expect You to Think

β€’ Classify rows using CASE WHEN
β€’ Aggregate conditionally instead of filtering rows
β€’ Ensure both conditions exist for the same customer
β€’ Use HAVING with conditional counts
β€’ Avoid filtering in WHERE which removes needed rows

πŸ’‘ SQL Solution

SELECT
c.customer_name
FROM orders o
JOIN customers c
ON o.customer_id = c.customer_id
GROUP BY c.customer_name
HAVING
SUM(CASE WHEN o.order_amount > 10000 THEN 1 ELSE 0 END) >= 1
AND SUM(CASE WHEN o.order_amount < 1000 THEN 1 ELSE 0 END) >= 1;

πŸ”₯ React β™₯️ if you want more real-world SQL interview scenarios
OJECT: WHATSAPP BOT (Part 1)

Setup karte hain!

Library: pywhatkit

Install:
pip install pywhatkit

Basic code:
import pywhatkit

pywhatkit.sendwhatmsg(
"+919876543210",
"Hello from Python!",
15, 30 # Time: 3:30 PM
)


⚠️ WhatsApp Web logged in hona chahiye!

Part 2 tomorrow πŸ‘€

Tap ❀️ , if you're interested in creating.

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
πŸš€ WHATSAPP BOT (Part 2)

Bulk messages bhejenge!

import pywhatkit as kit
import time

contacts = [
"+919876543210",
"+919876543211"
]

message = "Sale Alert! 50% OFF"

for contact in contacts:
kit.sendwhatmsg_instantly(
contact, message
)
time.sleep(10)


πŸ’‘ Use case:
β€’ Business updates
β€’ Birthday wishes
β€’ Reminders

Questions? Ask! πŸ’¬

Tap ❀️ , if you're creating.

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
❀3
🎯 LINKEDIN TIPS FOR DEVELOPERS

Profile optimize karo:

1️⃣ Headline:
"Python Developer | Automation Expert"
NOT "Student" or "Fresher"

2️⃣ Summary:
β€’ What you do
β€’ Skills (Python, pandas, etc)
β€’ Projects (2-3 lines)

3️⃣ Featured:
β€’ GitHub repos
β€’ Projects
β€’ Certificates

4️⃣ Post regularly:
β€’ Python tips
β€’ Mini tutorials

Clients LinkedIn se milte hain! πŸ’Ό for freelancing, for contractual jobs, for part time jobs

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
❀1
🐍 PYTHON TRICK #4

❌ Beginner way:
fruits = ['apple', 'banana']
for i in range(len(fruits)):
print(i, fruits[i])

βœ… Pro way:
for i, fruit in enumerate(fruits):
print(i, fruit)

πŸ’‘ Cleaner + Pythonic!

Bonus with start:
for i, fruit in enumerate(fruits, start=1):
print(f"{i}. {fruit}")

Output:
1. apple
2. banana

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
❀2
🎯 MINI CHALLENGE #3

Task: Filter Excel data

Given: sales.xlsx with columns:
β€’ Name
β€’ Department
β€’ Salary

Filter:
1. Department = 'IT'
2. Salary > 50000
3. Save to new file

Use pandas!

⏰ 20 minutes

Solution tomorrow πŸ‘€

Hint: Use df[condition]

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
❀2
βœ… CHALLENGE SOLUTION

import pandas as pd

df = pd.read_excel('sales.xlsx')

filtered = df[
(df['Department'] == 'IT') &
(df['Salary'] > 50000)
]

filtered.to_excel(
'filtered_sales.xlsx',
index=False
)

print(f"Found {len(filtered)} records")


πŸ’‘ Tips:
β€’ Use & for AND
β€’ Use | for OR
β€’ Use () around conditions

Kisne solve kiya? πŸ™‹

Share with Credit https://t.me/codingdidi
Double Tap β™₯️ For More
❀3