Level 1 - Session 5 (MP 1): Mini Project 1 — Simple Calculator
Details
Level: Noob → Nerd (Level 1, Session 5 — Mini Project 1)
Format: Live Coding + Interactive Q&A
Duration: 30 Minutes
Prerequisites: Completed Sessions 1–4 (Python setup, variables/types, operators, and conditionals)
- Optional: Watch the recording/playlist: Python Fundamentals – Level 1 (YouTube playlist)
🎙️ Speaker: Viswanatha Swamy — Swamy's Tech Skills Academy
🕘 Time: 09:00 AM – 09:30 AM
What You'll Learn:
- Understand and apply PEP 8 style rules for clean, readable code (naming, spacing, comments)
- Revisit core scalar concepts: `del`, bool arithmetic, and type conversion edge cases
- Build a working CLI calculator that supports `+`, `-`, `*`, `/`
- Validate and convert user input before calculation to avoid type-related failures
- Use `if/elif/else` branching to select operations and handle divide-by-zero safely
- Apply `# Why:` comments to explain decisions, not just actions
Perfect For:
- Learners who completed Sessions 1–4 and are ready to integrate everything into one real program
- Beginners who want to understand why style, validation, and branching matter together
- Anyone preparing for Session 6 where the same validated-input pattern extends into loops
📢 Join us to build your first complete Python program — a calculator that handles real input, makes decisions, and fails gracefully — while learning the style rules that make your code readable and professional.

