π― MINI CHALLENGE #1
Can you solve this in Python?
Print numbers 1-100:
β’ "Fizz" if divisible by 3
β’ "Buzz" if divisible by 5
β’ "FizzBuzz" if divisible by both
β’ Number otherwise
Example:
1, 2, Fizz, 4, Buzz, Fizz, 7...
β° Time limit: 10 minutes
Let's see who all can solve!!
Share with Credit https://t.me/codingdidi
π¬ Tap β€οΈ for more!
Can you solve this in Python?
Print numbers 1-100:
β’ "Fizz" if divisible by 3
β’ "Buzz" if divisible by 5
β’ "FizzBuzz" if divisible by both
β’ Number otherwise
Example:
1, 2, Fizz, 4, Buzz, Fizz, 7...
β° Time limit: 10 minutes
Let's see who all can solve!!
Share with Credit https://t.me/codingdidi
π¬ Tap β€οΈ for more!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π 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!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π 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!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€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!
β 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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π° 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!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π― 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!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€2
π WEB SCRAPING 101
Simple example - Scrape website titles:
Libraries needed:
β’ requests
β’ beautifulsoup4
Install: pip install requests beautifulsoup4
Full tutorial chahiye? π
Share with Credit https://t.me/codingdidi
π¬ Tap β€οΈ for more!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π‘ 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!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
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.
Tap β€οΈ for more!
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!
Coursera
Google AI
Offered by Google. Build your AI fluency and get more ... Enroll for free.
π― 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!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π 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!
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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
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!
β’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!
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€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οΈβ£ 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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€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
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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π 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
β 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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π§ 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
π
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:
β οΈ 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
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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
π WHATSAPP BOT (Part 2)
Bulk messages bhejenge!
π‘ 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
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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€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
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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€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
β 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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€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
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
Telegram
@Codingdidi
Free learning Resources For Data Analysts, Data science, ML, AI, GEN AI and Job updates, career growth, Tech updates
β€2