On June 2, 2026, our AI & Prompt Engineering residency at Virtual Height Pvt Ltd advanced from foundational theories to practical control flows, runtime configurations, and functional design patterns.

1. Compiler Verification & Workspace Setup

The morning session focused on verifying environment paths and ensuring local compiler parity across the cohort. We downloaded the latest stable release from python.org, configured Visual Studio Code as our primary editor, and validated path variables via shell commands ('python --version' or 'py --version'). This guaranteed a clean, uniform cross-platform command line runtime for Windows, Linux, and macOS.

2. Control Flow & Match-Case Logic

We deep-dived into decision-making structures: if-statements, if-else constructs, nested conditions, and elif chains. Additionally, we explored Python's modern structural pattern matching system—the match-case statement—which provides a highly readable and optimized alternative to multi-branch conditional trees when parsing inputs or commands.

3. Iteration Spaces & Reusable Functions

To eliminate code repetition, we studied for-loops (iterating over sequences and ranges) and constraint-driven while-loops. We then wrapped this iterative logic inside modular Functions using the 'def' keyword. For our core activity, we built a 5-option terminal calculator handling addition, subtraction, multiplication, division, and modulo operations inside a continuous command loop.

A highlight occurred during the loops lecture: Rashmi challenged the cohort with a complex question about while-loop boundaries, offering chocolate to anyone who could solve it. While I initially stayed silent to avoid seeming overeager, I stepped in once the class hit a dead end and she specifically called on me. I explained the logic with absolute precision. Despite never actually receiving the chocolate, the moment gave her a real glimpse of my codebase depth, leaving her deeply impressed.

4. Aura Farming & The Birthday Web Hack

The absolute highlight of Day 2 lay in a coordinated surprise. Since Day 1 was Rashmi's birthday, I created a custom web experience at hbd.sagarithm.in to farm some aura. Presenting this belated happy birthday build to her with my friend in front of the class left her extremely happy and impressed. Seeing our peers struggle with variables while we shipped custom live subdomains highlighted the massive value of building fast and public.

Key Learnings

  • Configuring clean terminal python environments and path commands cross-platform.
  • Implementing multi-branch conditionals and Python 3.10 match-case structures.
  • Writing modular, reusable functions and looping structures for calculation workflows.
  • Deploying interactive web applications live on subdomains to validate fast prototyping.

Tools & Stack

  • Python 3.11
  • VS Code
  • CLI Terminal
  • hbd.sagarithm.in

Challenges Overcome

  • Translating user string options into matching calculation functions error-free.
  • Managing simple inputs without allowing division-by-zero crashes or bad type conversions.

Related Logs

Day 00

Onboarding & Exploration: Mapping the Core AI & Python Blueprint

Onboarding at Virtual Height, exploring Python-based AI development pipelines, setting up sandboxes, and defining our core AI & Prompt Engineering curriculum.

May 29, 20264 min readRead Log
Day 01

Day 01: Foundations of AI, Python Lab, and the Velocity of Domain Mastery

Onboarding under Senior AI Trainer Rashmi, mapping the formal pillars of AI from ML to DL, mastering cross-platform Python execution, and demonstrating custom LLM and reverse engineering portfolios to the cohort.

Jun 01, 20264 min readRead Log