PreviewOpening pages + 5 selected lesson samples
PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

PYTHON WORKSHOP / ISSUE 01

START CODING
WITH PYTHON

Build a practical foundation in programming with Python.

24 GUIDED EXERCISES 4 BONUS CHALLENGES FINAL PROJECT

WHAT THIS ISSUE INTRODUCES

A beginner-focused introduction to core programming concepts, testing, debugging, and the programming literacy needed to use AI-assisted coding tools with more clarity and control.

PYTHON 3.11+ / STANDARD LIBRARY ONLY / DIGITAL EDITION / BY UPGRADEFEELING

FROM SOURCE CODE TO OUTPUT

ISSUE 01
welcome_console.py PYTHON
# Display a welcome message.
print("Welcome to Python Workshop")
print("Your first program is running.")
OUTPUT python welcome_console.py
Welcome to Python Workshop
Your first program is running.
01WRITE
02SAVE
03RUN
04INSPECT

Readable code. Immediate feedback. A clear first step.

PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

LICENSED EDITION

Your copy, clearly identified

Every purchased PDF is generated for one customer and marked without interfering with the lesson content. Published by UpgradeFeeling.

LICENSE HEADER SPECIMEN PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION

PERSONAL LICENSE

This digital magazine is licensed to Preview Reader for personal use. The buyer name and License ID remain visible throughout the publication.

  • The marker appears on every page.
  • The License ID maps to the order record.
  • Redistribution exposes the licensed copy.

DELIVERY AND ORDER POLICY

The personalized PDF and source-code package are delivered through the customer link associated with your order.

  • Download availability and refund eligibility follow the terms shown at checkout and in your order confirmation.
  • Keep your order details and License ID with this copy.
  • If access later fails, use the support/contact option associated with your order.

PERMITTED USE

  • Read the PDF on personal devices.
  • Print a personal study copy.
  • Run and modify included Python files for personal learning.
  • Keep personal notes based on the exercises.

NOT PERMITTED

  • Do not upload or publicly share the files.
  • Do not remove or conceal license markings.
  • Do not resell, redistribute, or use the publication as course material for others.
PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

WELCOME

Build the foundation behind better AI-assisted coding

This issue gives complete beginners a practical introduction to how programs are written, run, tested, and improved. The goal is understanding - not pretending that one issue creates a professional programmer.

PURPOSE OF THIS ISSUE

This issue builds practical programming literacy through small Python programs. You will learn how variables, input, calculations, strings, output, errors, and testing work, so you can follow simple code and continue into deeper study with a clearer foundation.

WHAT YOU WILL PRACTICE

GUIDED EXERCISES24
BONUS CHALLENGES4
DEBUGGING LABS6
INTEGRATED PROJECT1

WHY THIS MATTERS FOR VIBE CODING

Here, vibe coding means using AI to help draft or modify code while you remain responsible for requirements, testing, and verification.

  • Give AI clearer requirements.
  • Read and question generated code.
  • Test results instead of trusting appearances.
  • Request precise corrections.

YOUR ROLE

  • Type and run the examples.
  • Change values and observe the result.
  • Predict the output before running.
  • Ask AI tools to explain or improve code.
  • Verify generated code before trusting it.
  • Complete exercises before checking solutions.
FOUNDATION, NOT MASTERY Completing this issue will not make you a professional programmer. It gives you a practical foundation for continued study and more effective AI-assisted coding.
PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

READER GUIDE

How to use this magazine

Each exercise is designed as a short build cycle. Follow the sequence instead of jumping directly to the reference code.

THE BUILD CYCLE

  1. 1
    READ THE CHALLENGE

    Understand the result the program must produce before thinking about Python syntax.

  2. 2
    REVIEW THE CONCEPT

    Identify the exact language feature needed for this exercise.

  3. 3
    PREDICT THE OUTPUT

    Write down what you expect the terminal to display.

  4. 4
    BUILD THE PROGRAM

    Type the code in a real .py file and run it.

  5. 5
    TEST ONE VARIATION

    Change a value or message and confirm that the output changes as expected.

  6. 6
    REVIEW THE SOLUTION

    Compare the approach only after you have made a serious attempt.

FILE SYMBOLS

</>
PYTHON CODE

Light code cards show syntax-highlighted code to type in your editor.

$_
TERMINAL OUTPUT

Dark cards show what appears after the program runs.

!
EDGE CASE

Amber notes identify unusual or unsupported input.

SOURCE PACKAGE

The download includes starter files and reference solutions. Type the lesson examples yourself; use the files to verify, compare, and recover from mistakes.

starter_files/reference_solutions/
PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

TOOLS AND SETUP

Prepare a clean Python workspace

The examples target Python 3.11 or later and use only the standard library. No external packages are required.

REQUIRED

  • Python 3.11 or later.
  • A text editor or code editor.
  • A terminal, command prompt, or editor Run control.
  • A dedicated folder for this issue.
  • The included source-code package.

RECOMMENDED EDITOR

Visual Studio Code is a practical option, but any editor that saves plain-text .py files is acceptable.

  • Install the official Python extension if using VS Code.
  • Open the complete issue folder.
  • Save before every run.

VERIFY THE INSTALLATION

Open a terminal and run the command for your operating system.

WINDOWS / COMMON● ● ●
> python --version
Python 3.11.9
WINDOWS FALLBACK● ● ●
> py -3 --version
Python 3.11.9
macOS / Linux● ● ●
> python3 --version
Python 3.11.9

Your version number may differ. Any Python 3.11 or newer version is acceptable.

COMMAND NOT FOUND?

Python may not be installed, or its command may not be available in your terminal. Install Python 3 from the official Python website, reopen the terminal, and run the version check again.

CREATE THE ISSUE FOLDER

Create this folder structure:

PY01_Start_Coding_with_Python/
  lesson_files/
  exercise_attempts/
  reference_files/
PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

CONTENTS

Issue 01 at a glance

Page numbers reflect this edition.

ISSUE SCOPE No if statements, loops, functions, collections, file handling, OOP, APIs, or external packages.
PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

GUIDED EXAMPLE

Build a Welcome Console

This small program uses only print() and comments, but it already demonstrates hierarchy, spacing, and execution order.

welcome_console_full.pyPYTHON
# Display the main heading.
print("========================================")
print("WELCOME TO PYTHON WORKSHOP")
print("========================================")
print()

# Display the issue details.
print("Issue: Start Coding with Python")
print("Goal: Build programming foundations")
print()

# Display the closing message.
print("========================================")
print("Your first program is ready.")
print("========================================")
EXPECTED OUTPUT● ● ●
========================================
WELCOME TO PYTHON WORKSHOP
========================================

Issue: Start Coding with Python
Goal: Build programming foundations

========================================
Your first program is ready.
========================================

CODE WALKTHROUGH

SEPARATORS
Repeated characters create a visible frame.

ORDER
Each call controls one output line.

SPACING
Empty calls create blank lines between sections.

COMMENTS
Comments explain each section without appearing in the output.

PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

EXERCISE 11

Study Plan Recorder

Read a learner's plan, convert two whole-number responses, and display the data. Unit 5 will calculate the weekly total.

THE CHALLENGE

BEGINNER20 MINUTES

Required inputs:

  • Learner name - str.
  • Study topic - str.
  • Weekly sessions - int.
  • Minutes per session - int.

REQUIRED BEHAVIOR

  • Clean the learner name.
  • Preserve the topic's intended capitalization.
  • Use int() for both numeric responses.
  • Display minutes with the unit.
  • Do not multiply the values yet.
exercise_11_study_plan_recorder.py
OUTPUT TARGETTARGET
========================================
STUDY PLAN RECORD
========================================
Learner: Riley Park
Topic: Python variables
Weekly Sessions: 6
Minutes per Session: 25 minutes
========================================

SCOPE NOTE

The starter file includes a comment explaining that Unit 5 will derive total weekly study time.

EDGE CASES TO OBSERVE

The current program accepts zero and negative integers because conversion checks numeric form, not real-world validity. Entering "six" raises ValueError. Do not add validation yet.

PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

EXERCISE 20 + UNIT RECAP

Event Budget Snapshot

Complete the unit with a multi-stage budget, then verify that every operator, unit, and intermediate value has a clear purpose.

EVENT BUDGET STAGES

1
FOOD COSTattendees * food_cost_per_attendee
2
BASE COSTfood + venue + equipment + additional
3
CONTINGENCYbase * percentage / 100
4
FINAL COSTbase + contingency
5
PER ATTENDEEfinal / attendee_count
COMPLETION CHECK Food cost calculated once Base cost excludes contingency Per-attendee cost uses final cost
exercise_20_event_budget_snapshot.py

KNOWN TEST

  • 40 attendees at $18 food each = $720.
  • Venue $500 + equipment $225 + additional $100.
  • Base cost = $1,545.
  • 10% contingency = $154.50.
  • Final cost = $1,699.50.
  • Per attendee = $42.49 after rounding.

DENOMINATOR

Attendee count must be greater than zero before calculating cost per attendee. Validation is outside the current scope.

UNIT 5 RECAPYou can now translate a practical relationship into a sequence of named, unit-aware calculations.
CHOOSE

Select operators from meaning.

GROUP

Use parentheses for stages.

DIVIDE

/ and // answer different questions.

REMAINDER

% keeps what is left.

NAME UNITS

Make measurements explicit.

ROUND LATE

Preserve precision until display.

Next: Unit 6 uses strings and f-strings to build polished labels, summaries, and fixed numeric displays.

PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

CLASSIFY BEFORE EDITING

Use the failure category to narrow the search

Exception names do not solve the problem for you, but they reduce the search area. A logic error is different: the program completes, yet the result does not match the intended calculation or specification.

SYNTAXERROR

Python cannot parse the source. Typical cause: an unclosed quote or parenthesis.

NAMEERROR

A referenced name is not currently defined. Typical cause: a typo or missing assignment.

TYPEERROR

An operation receives objects of incompatible types. Typical cause: adding an int and str.

VALUEERROR

An operation accepts the type, but the specific value is unsuitable. Example: float("twelve").

INDEXERROR

A requested string position does not exist. Example: reading text[0] when text is empty.

ZERODIVISIONERROR

A division, floor division, or modulo operation uses a zero divisor.

LOGIC ERROR - NO EXCEPTION REQUIRED

Legal Python can still implement the wrong formula. Compare the result with a hand calculation, check units, and confirm that derived values are calculated after their inputs reach the intended values.

REPRODUCE READ ISOLATE CORRECT ONE CAUSE RETEST
PREVIEW COPY - SELECTED SAMPLE PAGES - NOT FOR REDISTRIBUTION@upgradefeeling

PROJECT LAUNCH

Study Sprint Dashboard

Bring the entire issue together in one program that collects a study plan, calculates its weekly commitment, and presents a readable dashboard.

INPUTCONVERSIONARITHMETICSTRINGSF-STRINGSTESTING

PROJECT OUTCOME

Build study_sprint_dashboard.py from a blank file, test it with planned values, then compare your work with the reference solution.

SCOPE CONTROL

No if statements, loops, functions, collections, files, exception handling, or external packages are required.

FROM RAW PLAN TO USEFUL DASHBOARD

One program will reuse the main ideas introduced throughout Issue 01.

READ INPUTCALCULATEFORMAT OUTPUT
FINAL RESULTPYTHON
STUDY SPRINT DASHBOARD
Learner: Avery Chen
Total Commitment: 280 minutes
Time Summary: 4 hours 40 minutes
Cost per Session: $3.60
YOUR GOALUnderstand every input, formula, conversion, and output line well enough to explain what the program is doing.