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.