DEV Community

Bhanu Nagpure
Bhanu Nagpure

Posted on • Originally published at Medium

I Built a Python Learning App From a Hospital Bed. Here’s What I Actually Built.

Main Image showing the Home and track selection interface with title I built a Python Learning App!

I graduated. Then I got sick. Then I built an app.

I was stuck in a hospital bed, freshly out of college, with nothing but my laptop and a question I couldn't stop thinking about: Why is learning to code still so painful in 2026?

I remembered exactly how it felt to be a beginner staring at a Python tutorial that assumed I cared about abstract theory before writing a single working line. So I built PyMaster. It shipped on January 26, 2026. Here's what's inside - and what it actually took to build it alone.


Learning That Feels Like Playing

Image showing the playful UI of PyMaster App.

The structure is zone-based. You work through Zone 1: The Foundation - First Contact, Memory Bank (variables), Data Types, The Converter - unlocking the next zone only when you've genuinely understood the current one. No skipping. No guessing your way through.

The home screen shows your name, level, streak, coins, and one clear nudge toward what to tackle next. No dashboard overwhelm.


Practice Arena: Where the AI Lives

Image showing the practice screen along with built-in Offline python lab feature
The app watches your performance and identifies weak spots. If your PREDICT_OUTPUT mastery is at 5%, the AI builds a focused session targeting exactly that gap - and tells you so explicitly.

You pick your format: Quick (5 Qs), Blitz (10 Qs), or Marathon (25 Qs). Then your intensity: Standard play or Sudden Death - 1 life only.

There's also a Python Sandbox - write and run real Python entirely offline. For a learner with spotty connectivity, this isn't a feature. It's the point.


The AI Tutor Runs on Gemini

Image showing the AI Tutor
The AI tutor is built on Gemini 3.1 Flash Lite via the Gemini API. I chose Flash Lite deliberately - fast, efficient, and perfect for short contextual explanations mid-session.

Each track has a custom system prompt. The Python Core tutor explains errors like a patient teacher. The GenAI track tutor is configured differently because someone learning to build with generative AI needs different mental models. The mastery detection in Practice Arena feeds directly into what the AI surfaces next. It's woven in, not bolted on.


How Antigravity Kept Me From Drowning


I built this solo. Antigravity became my agentic development partner in ways I didn't fully anticipate.

The obvious value was bug detection - catching logic errors in my streak system, flagging edge cases in offline sync I'd have found three weeks later in a Play Store review. But the bigger win was automating the repetitive parts. Every new screen needed the same scaffolding work - new lesson types, new zones, new career tabs. Antigravity automated the template setup. I described what I needed, it generated the structure, I filled in the logic.

When you're building alone, that's not a productivity gain. That's the difference between shipping and not shipping.


Three Tracks. One Engine.

  • Python Core - fundamentals, for everyone
  • Data Science - Pandas, real datasets
  • GenAI - building with Generative AI using Gemini

Same engine underneath. Completely different curricula, question banks, and AI tutor behaviour per track.


Who's Actually Using It

I built this with Indian students in mind. The reality turned out bigger.

Users are coming in from South Asia, South Africa, and Brazil - spending 15 to 30 minutes per session, which for mobile learning is a genuinely strong engagement number. That's not a passive scroll. That's someone working through a lesson.

The geographic spread confirmed something I suspected: this isn't an Indian problem. It's a global one, concentrated wherever laptop-first education has left learners behind.

Content updates are coming. The question banks will grow, new zones will ship, and the AI tutor will get sharper. The foundation is in place.


What I'd Tell Someone Starting Out

Build something real. Use Gemini not just as a coding assistant but as a thought partner - ask it why, not just what. And use agentic tools to kill the mechanical work so your energy goes into making the product actually good.

PyMaster is live on the Google Play Store. Built by one developer, from a hospital bed, shipped on Republic Day.

I'd love to hear what you think.

Top comments (0)