| # | Topic | Status |
|---|---|---|
| 1 | Python Character Set | ✅ |
| 2 | Variables & Memory Reference | ✅ |
| 3 | Rules of Identifiers & Keywords | ✅ |
| 4 | Built-in Data Types | ✅ |
| 5 | Types of Operators | ✅ |
| 6 | Type Conversion vs Type Casting | ✅ |
| File | Topics | Questions |
|---|---|---|
| 01_Basic.py | Character Set, Variables, Identifiers | 07 |
| 02_Data_and_operators.py | Data Types, Operators | 09 |
| 03_type_conversion.py | Type Conversion & Casting | 06 |
| 04_challenge.py | All Topics Mixed (Mini Projects) | 02 |
Click to expand quick revision notes
1. Identifier Rules
- Can contain: letters (
a-z,A-Z), digits (0-9), and underscores (_). -
Cannot start with a digit (e.g.,
2nameis invalid). - Cannot use reserved keywords (
for,class,if, etc.). - Case-sensitive (
Age$\neq$ age).
2. Operators Precedence
-
()— Parentheses -
**— Exponentiation -
+x,-x— Unary plus/minus -
*,/,//,%— Multiplication, Division, Floor Division, Modulo -
+,-— Addition, Subtraction -
==,!=,<,<=,>,>=— Comparison -
not,and,or— Logical Operators
3. Falsy Values in Python
The following always evaluate to False in bool():
- Constants:
None,False - Zero numbers:
0,0.0,0j - Empty sequences/collections:
"",[],(),{},set()
- Lecture 01 — Basics, Data Types & Operators 📍 (Current)
- Lecture 02 — Coming Soon
- Lecture 03 — Coming Soon
- Lecture 04 — Coming Soon
- Lecture 05 — Coming Soon
- Lecture 06 — Coming Soon
- Lecture 07 — Coming Soon
- Lecture 08 — Coming Soon
- Lecture 09 — Coming Soon
If you found this helpful or have any questions:
- 💬 Found a bug / Have a solution? Open an Issue or create a Pull Request.
If you like this series and want to support it, please give this repository a Star (⭐)! It helps others discover this learning resource.