Day 24 : How To Solve Spy Number Problem | 30 Days of Code Challenge
Tutorial Video : -https://youtube.com/shorts/YJ4v7nAUMpE
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Tutorial Video : -https://youtube.com/shorts/YJ4v7nAUMpE
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Day 25 : How To Solve Strong Number Problem | 30 Days of Code Challenge
Tutorial Video : - https://youtube.com/shorts/DLpLDMM2qW0
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Tutorial Video : - https://youtube.com/shorts/DLpLDMM2qW0
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Day 26 : How To Solve Sunny Number Problem | 30 Days of Code Challenge
Tutorial Video : - https://youtube.com/shorts/DCv2WlgpQaQ
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Tutorial Video : - https://youtube.com/shorts/DCv2WlgpQaQ
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Day 27 : How To Solve Swap Without using third variable Problem | 30 Days of Code Challenge
Tutorial Video : - https://youtube.com/shorts/4soQ4Tuj2zA
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Tutorial Video : - https://youtube.com/shorts/4soQ4Tuj2zA
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Day 28 : How To Solve Swap Two Numbers (Python way) Problem | 30 Days of Code Challenge
Tutorial Video : -https://youtube.com/shorts/YhNkO8vTDC4
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Tutorial Video : -https://youtube.com/shorts/YhNkO8vTDC4
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Day 29 : How To Solve Swap Two Numbers Problem | 30 Days of Code Challenge
Tutorial Video : - https://youtube.com/shorts/_1CK2vS3ayM
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Tutorial Video : - https://youtube.com/shorts/_1CK2vS3ayM
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Day 30 : How To Solve Trimorphic Number Problem | 30 Days of Code Challenge
Tutorial Video : - https://youtube.com/shorts/BV34hO4_Ahc
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Tutorial Video : - https://youtube.com/shorts/BV34hO4_Ahc
Source Code : - https://github.com/TechbyWebCoder/Python_Problem
Follow For More....!!
Top 10 Python Problem Challenge (For Beginner) | Part 1
Tutorial Video : - https://youtu.be/v5PeqzrW6UE
Follow For More....!!
Tutorial Video : - https://youtu.be/v5PeqzrW6UE
Follow For More....!!
Top 10 Python Problem Challenge (For Beginner) | Part 2
Tutorial Video : - https://youtu.be/xx1mO-OZAYQ
Follow For More....!!
Tutorial Video : - https://youtu.be/xx1mO-OZAYQ
Follow For More....!!
Top 10 Python Problem Challenge (For Beginner) | Part 3
Tutorial Video : - https://youtu.be/UT0NwA4fmhI
Follow For More....!!
Tutorial Video : - https://youtu.be/UT0NwA4fmhI
Follow For More....!!
IMPORTANT PROBLEM CODE USING PYTHON 📽
(PYTHON PROBLEM PROGRAM)
1. 1 TO 10 PROGRAM
https://youtu.be/v5PeqzrW6UE
2. 11 TO 20 PROGRAM
https://youtu.be/xx1mO-OZAYQ
3. 21 TO 30 PROGRAM
https://youtu.be/UT0NwA4fmhI
FOLLOW FOR MORE !!
(PYTHON PROBLEM PROGRAM)
1. 1 TO 10 PROGRAM
https://youtu.be/v5PeqzrW6UE
2. 11 TO 20 PROGRAM
https://youtu.be/xx1mO-OZAYQ
3. 21 TO 30 PROGRAM
https://youtu.be/UT0NwA4fmhI
FOLLOW FOR MORE !!
Forwarded from TECH BY WEB CODER
Python Function With Ex.pdf
1.8 MB
Important Web Developer And Programming Language Related Notes🔗
👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻
Topic :- Python (Basic To Advance All Functions With Example)
👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻
Topic :- Python (Basic To Advance All Functions With Example)
IMPORTANT PATTERN CODE USING PYTHON 📽
(30 INTERVIEW RELATED PATTERN PROGRAM)
1. STAR PATTERN PROGRAM
https://youtu.be/bxen7i1YRJ0?si=0kim8S0bG1Ee3ESl
2. NUMBER PATTERN PROGRAM
https://youtu.be/_5UaekFc2tw?si=efgKy3_AQIDCcYPk
3. ALPHABET PATTERN PROGRAM
https://youtu.be/V-lQ2MJ5KEk?si=mIY6XMMP_Jm4danw
FOLLOW FOR MORE !!
(30 INTERVIEW RELATED PATTERN PROGRAM)
1. STAR PATTERN PROGRAM
https://youtu.be/bxen7i1YRJ0?si=0kim8S0bG1Ee3ESl
2. NUMBER PATTERN PROGRAM
https://youtu.be/_5UaekFc2tw?si=efgKy3_AQIDCcYPk
3. ALPHABET PATTERN PROGRAM
https://youtu.be/V-lQ2MJ5KEk?si=mIY6XMMP_Jm4danw
FOLLOW FOR MORE !!
👍1👌1
Forwarded from TECH BY WEB CODER
Python Pattern.pdf
3 MB
Important Web Developer And Programming Language Related Program🔗
👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻
Topic :- Python (Top 30 Pattern Program With Source Code)
👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻
Topic :- Python (Top 30 Pattern Program With Source Code)
👍1
🧠 Python MCQ Question
❓What will be the output of the following? >>print(10 // 3)
❓What will be the output of the following? >>print(10 // 3)
Anonymous Poll
35%
3.33
55%
3
6%
4
4%
Error
Correct Answer: B) 3
📘Explanation:
In Python, // is the floor division operator in Python.
It divides the numbers and returns the integer part (floor value).
So 10 // 3 gives 3, not 3.33.
React ❤️ if you got it Right
📘Explanation:
In Python, // is the floor division operator in Python.
It divides the numbers and returns the integer part (floor value).
So 10 // 3 gives 3, not 3.33.
React ❤️ if you got it Right
❤2
🧠 Python MCQ Question
❓What will be the output of the following Python Program? ⏩print(5 > 3 and 2 < 1)
❓What will be the output of the following Python Program? ⏩print(5 > 3 and 2 < 1)
Anonymous Poll
40%
True
55%
False
5%
None
0%
Error
✅ Correct Answer: B) False
🧠 Explanation :
5 > 3 → True
2 < 1 → False
True and False → False
📌 Rule: and returns True only if both conditions are True.
React ❤️ if you got it Right
🧠 Explanation :
5 > 3 → True
2 < 1 → False
True and False → False
📌 Rule: and returns True only if both conditions are True.
React ❤️ if you got it Right
🐍 PYTHON – DAY 1 STUDY MATERIAL
✨ Topic: Introduction to Python & Installation
━━━━━━━━━━━━━━━━━━━
📌 What is Python?
Python is a high-level, interpreted, and general-purpose programming language.
It is easy to learn and widely used in web development, data science, artificial intelligence, automation, and scripting.
━━━━━━━━━━━━━━━━━━━
🎯 Why Learn Python?
✅ Easy to read and write
✅ Beginner-friendly syntax
✅ Huge library support
✅ Platform independent
✅ Used by top companies like Google, Netflix, Instagram
━━━━━━━━━━━━━━━━━━━
⚙️ Features of Python
✔ Interpreted Language
✔ High-Level Language
✔ Object-Oriented
✔ Dynamically Typed
✔ Portable (Windows, Linux, Mac)
✔ Open Source and Free
━━━━━━━━━━━━━━━━━━━
🔢 Python Versions
❌ Python 2 – Deprecated
✅ Python 3 – Recommended
👉 Always use Python 3
━━━━━━━━━━━━━━━━━━━
💻 How to Install Python (Windows)
1️⃣ Visit 👉 https://www.python.org
2️⃣ Download Python 3.x
3️⃣ Select ☑ Add Python to PATH
4️⃣ Click Install
5️⃣ Verify installation using:
python --version
━━━━━━━━━━━━━━━━━━━
🚀 Python Execution Modes
🔹 Interactive Mode
print("Hello Python")
🔹 Script Mode
Create file: hello.py
print("Hello Python")
Run using command:
python hello.py
━━━━━━━━━━━━━━━━━━━
👋 First Python Program
print("Hello World")
🖨 Output:
Hello World
━━━━━━━━━━━━━━━━━━━
🧠 Python Syntax Rules
• Python is case-sensitive
• Indentation is mandatory
• No semicolon required
Example:
if True:
print("Python is easy")
━━━━━━━━━━━━━━━━━━━
💬 Comments in Python
🔹 Single-line comment
This is a comment
🔹 Multi-line comment
"""
This is
a multi-line
comment
"""
━━━━━━━━━━━━━━━━━━━
📝 Practice Tasks – Day 1
✔ Install Python
✔ Run Python in interactive mode
✔ Write your first Python program
✔ Print your name using Python
Example:
print("My name is Soham")
━━━━━━━━━━━━━━━━━━━
🎯 Day 1 Goal
✔ Understand Python basics
✔ Install Python successfully
✔ Run your first Python program
━━━━━━━━━━━━━━━━━━━
📅 Next Topic – Day 2
🔥 Variables & Data Types
✨ Stay Connected | Keep Coding
🚀 TechByWebCoder
React ❤️ If You Got It Right
✨ Topic: Introduction to Python & Installation
━━━━━━━━━━━━━━━━━━━
📌 What is Python?
Python is a high-level, interpreted, and general-purpose programming language.
It is easy to learn and widely used in web development, data science, artificial intelligence, automation, and scripting.
━━━━━━━━━━━━━━━━━━━
🎯 Why Learn Python?
✅ Easy to read and write
✅ Beginner-friendly syntax
✅ Huge library support
✅ Platform independent
✅ Used by top companies like Google, Netflix, Instagram
━━━━━━━━━━━━━━━━━━━
⚙️ Features of Python
✔ Interpreted Language
✔ High-Level Language
✔ Object-Oriented
✔ Dynamically Typed
✔ Portable (Windows, Linux, Mac)
✔ Open Source and Free
━━━━━━━━━━━━━━━━━━━
🔢 Python Versions
❌ Python 2 – Deprecated
✅ Python 3 – Recommended
👉 Always use Python 3
━━━━━━━━━━━━━━━━━━━
💻 How to Install Python (Windows)
1️⃣ Visit 👉 https://www.python.org
2️⃣ Download Python 3.x
3️⃣ Select ☑ Add Python to PATH
4️⃣ Click Install
5️⃣ Verify installation using:
python --version
━━━━━━━━━━━━━━━━━━━
🚀 Python Execution Modes
🔹 Interactive Mode
print("Hello Python")
🔹 Script Mode
Create file: hello.py
print("Hello Python")
Run using command:
python hello.py
━━━━━━━━━━━━━━━━━━━
👋 First Python Program
print("Hello World")
🖨 Output:
Hello World
━━━━━━━━━━━━━━━━━━━
🧠 Python Syntax Rules
• Python is case-sensitive
• Indentation is mandatory
• No semicolon required
Example:
if True:
print("Python is easy")
━━━━━━━━━━━━━━━━━━━
💬 Comments in Python
🔹 Single-line comment
This is a comment
🔹 Multi-line comment
"""
This is
a multi-line
comment
"""
━━━━━━━━━━━━━━━━━━━
📝 Practice Tasks – Day 1
✔ Install Python
✔ Run Python in interactive mode
✔ Write your first Python program
✔ Print your name using Python
Example:
print("My name is Soham")
━━━━━━━━━━━━━━━━━━━
🎯 Day 1 Goal
✔ Understand Python basics
✔ Install Python successfully
✔ Run your first Python program
━━━━━━━━━━━━━━━━━━━
📅 Next Topic – Day 2
🔥 Variables & Data Types
✨ Stay Connected | Keep Coding
🚀 TechByWebCoder
React ❤️ If You Got It Right
❤3
🐍 PYTHON – DAY 2 STUDY MATERIAL
✨ Topic: Variables & Data Types
━━━━━━━━━━━━━━━━━━━
📌 What is a Variable?
A variable is a name given to a memory location used to store data in a program.
Python variables do not need data type declaration.
Example:
x = 10
name = "Python"
━━━━━━━━━━━━━━━━━━━
🧠 Rules for Naming Variables
✔ Must start with a letter (a–z, A–Z) or underscore (_)
✔ Can contain letters, numbers, and underscore
❌ Cannot start with a number
❌ Cannot use keywords
Valid:
my_var, _count, total1
Invalid:
1total, my-var, class
━━━━━━━━━━━━━━━━━━━
⚙️ Dynamic Typing in Python
Python automatically decides the data type based on the value.
Example:
x = 10
x = "Hello"
Same variable, different data type ✔
━━━━━━━━━━━━━━━━━━━
🔢 Data Types in Python
📍 Integer (int)
Stores whole numbers
Example:
a = 25
📍 Float (float)
Stores decimal numbers
Example:
b = 10.5
📍 String (str)
Stores text or characters
Example:
name = "Python"
📍 Boolean (bool)
Stores True or False
Example:
is_active = True
━━━━━━━━━━━━━━━━━━━
🔍 Check Data Type
Use type() function
Example:
x = 10
print(type(x))
Output:
<class 'int'>
━━━━━━━━━━━━━━━━━━━
🔁 Type Conversion (Type Casting)
📌 Convert to Integer
int(10.5) → 10
📌 Convert to Float
float(5) → 5.0
📌 Convert to String
str(100) → "100"
Example:
x = int("20")
y = float(5)
━━━━━━━━━━━━━━━━━━
📥 User Input in Python
Python takes input as string by default.
Example:
name = input("Enter your name: ")
print(name)
Input with type conversion:
age = int(input("Enter age: "))
━━━━━━━━━━━━━━━━━━━
🧮 Multiple Assignment
Example:
a, b, c = 10, 20, 30
Same value assignment:
x = y = z = 5
━━━━━━━━━━━━━━━━━━━
📝 Practice Tasks – Day 2
✔ Create variables of different data types
✔ Use type() to check data type
✔ Take user input for name and age
✔ Convert string input to integer
Example Program:
name = input("Enter name: ")
age = int(input("Enter age: "))
print(name, age)
━━━━━━━━━━━━━━━━━━━
🎯 Day 2 Goal
✔ Understand variables
✔ Learn Python data types
✔ Take user input confidently
━━━━━━━━━━━━━━━━━━━
📅 Next Topic – Day 3
🔥 Operators in Python
✨ Stay Connected | Keep Coding
🚀 TechByWebCoder
React ❤️ If You Got It Right
✨ Topic: Variables & Data Types
━━━━━━━━━━━━━━━━━━━
📌 What is a Variable?
A variable is a name given to a memory location used to store data in a program.
Python variables do not need data type declaration.
Example:
x = 10
name = "Python"
━━━━━━━━━━━━━━━━━━━
🧠 Rules for Naming Variables
✔ Must start with a letter (a–z, A–Z) or underscore (_)
✔ Can contain letters, numbers, and underscore
❌ Cannot start with a number
❌ Cannot use keywords
Valid:
my_var, _count, total1
Invalid:
1total, my-var, class
━━━━━━━━━━━━━━━━━━━
⚙️ Dynamic Typing in Python
Python automatically decides the data type based on the value.
Example:
x = 10
x = "Hello"
Same variable, different data type ✔
━━━━━━━━━━━━━━━━━━━
🔢 Data Types in Python
📍 Integer (int)
Stores whole numbers
Example:
a = 25
📍 Float (float)
Stores decimal numbers
Example:
b = 10.5
📍 String (str)
Stores text or characters
Example:
name = "Python"
📍 Boolean (bool)
Stores True or False
Example:
is_active = True
━━━━━━━━━━━━━━━━━━━
🔍 Check Data Type
Use type() function
Example:
x = 10
print(type(x))
Output:
<class 'int'>
━━━━━━━━━━━━━━━━━━━
🔁 Type Conversion (Type Casting)
📌 Convert to Integer
int(10.5) → 10
📌 Convert to Float
float(5) → 5.0
📌 Convert to String
str(100) → "100"
Example:
x = int("20")
y = float(5)
━━━━━━━━━━━━━━━━━━
📥 User Input in Python
Python takes input as string by default.
Example:
name = input("Enter your name: ")
print(name)
Input with type conversion:
age = int(input("Enter age: "))
━━━━━━━━━━━━━━━━━━━
🧮 Multiple Assignment
Example:
a, b, c = 10, 20, 30
Same value assignment:
x = y = z = 5
━━━━━━━━━━━━━━━━━━━
📝 Practice Tasks – Day 2
✔ Create variables of different data types
✔ Use type() to check data type
✔ Take user input for name and age
✔ Convert string input to integer
Example Program:
name = input("Enter name: ")
age = int(input("Enter age: "))
print(name, age)
━━━━━━━━━━━━━━━━━━━
🎯 Day 2 Goal
✔ Understand variables
✔ Learn Python data types
✔ Take user input confidently
━━━━━━━━━━━━━━━━━━━
📅 Next Topic – Day 3
🔥 Operators in Python
✨ Stay Connected | Keep Coding
🚀 TechByWebCoder
React ❤️ If You Got It Right