🛠️ Setting Up Python
-
Install Python:
-
Download from: https://www.python.org/downloads/
-
Ensure
Add Python to PATH
is selected during installation.
-
-
Check Installation:
-
Run Python:
-
Use an IDE (VS Code, PyCharm, etc.)
-
Or run code via terminal/command line:
-
🧠 Basic Concepts
1. Hello World
2. Variables
3. Data Types
-
int
,float
,str
,bool
,list
,tuple
,dict
,set
,None
4. Type Checking
🔁 Control Structures
1. If/Else
2. Loops
For Loop:
While Loop:
📦 Data Structures
1. Lists
2. Tuples
3. Dictionaries
4. Sets
🧰 Functions
📄 File Handling
🐞 Error Handling
🔄 Object-Oriented Programming (OOP)
🧪 Modules & Libraries
Use third-party packages:
0 Comments