Learn Python with JavaScript beside you. Build toward FastAPI, full-stack apps, and interviews in the AI era.
Already working with JavaScript, TypeScript, or React? This free learning path uses familiar examples to help you learn Python, one small step at a time.
Start the free course on Codinn · Read lesson 1 · Explore the roadmap
🟦 JavaScript
const tasks = [];
console.log(Boolean(tasks)); // true🟩 Python
tasks = []
print(bool(tasks)) # FalseAn empty Python list counts as false. An empty JavaScript array counts as true. That's our first idea — the lesson walks through it with examples and practice.
You'll need Python 3.11 or later and Git. Lesson 1 uses only Python's standard library; there are no packages to install.
git clone https://github.com/Vasu7389/python-for-FE-devs.git
cd python-for-FE-devs/lessons/001-python-truthiness-versus-javascript
python example.pyOn Windows, try py example.py if you use the Python launcher.
Expected output:
Empty task list: False
Task list with one item: True
Missing limit: 20
Chosen zero: 0
Text "false": True
Then open the practice guide. It includes a starter, clear steps, a hint, and expected results.
| Lesson | Learn | Practice and code |
|---|---|---|
| 01 · Python truthiness vs JavaScript | Free lesson on Codinn | Exercise · Python example |
Status: lesson 1 is available. The rest of the course is in progress. This is not a finished FastAPI application yet.
The planned path covers:
- Python fundamentals through JavaScript and TypeScript comparisons.
- HTTP, FastAPI, request validation, async code, and frontend integration.
- PostgreSQL, SQLAlchemy, migrations, authentication, and permissions.
- Background jobs, caching, uploads, and webhooks.
- Docker, CI/CD, monitoring, backups, and safe deployment.
- System design, AI features, debugging, and interview practice.
We'll build toward a team task app with organizations, projects, permissions, files, and notifications. See the 24-module roadmap for the planned sequence.
- Read a lesson on Codinn.
- Predict what the example will print, then run it.
- Change one input and see what happens.
- Try the exercise; use the hint whenever you need it.
- Explain the idea in your own words. Interview questions are optional practice.
Found an unclear explanation, a broken example, or a useful JavaScript comparison? Open an issue or read how to contribute.
If this path helps you, leave a star ⭐ so other frontend developers can discover it. Watch the repository if you'd like GitHub notifications about updates.
Maintained by Codinn. The published examples and exercises here are free and open source under the MIT license. Future paid products are separate from this repository.