Skip to content

Kitchen inventory workshop presents some previously taught concepts as new #70679

Closed

Description

@jdwilkin4

Here is the workshop
https://www.freecodecamp.org/learn/python-v9/workshop-kitchen-inventory-tracker/step-17

It looks like this was added recently, but there are a few steps that introduce previously taught concepts as if campers are seeing it for the first time. So the language needs to be updated or removed completly.

Step 4 - use of f strings

https://www.freecodecamp.org/learn/python-v9/workshop-kitchen-inventory-tracker/step-4

The step says the following:

In Python, you can use the print() function along with f-strings (formatted string literals) to easily output text and variables together.

name = 'Alice'
print(f'Hello, {name}!') # Output: Hello, Alice!

However, the prior introduction to strings theory block already introduced f strings and there were prior workshops where you got to practice working with them. So this sentence and example isn't necessary.

Step 7 - use of if statements

https://www.freecodecamp.org/learn/python-v9/workshop-kitchen-inventory-tracker/step-7

The step says the following:

An if statement evaluates a condition. If the condition is true, the code inside the if block runs.

This isn't necessary because there is a theory block for conditionals followed by a workshop and lab prior to this. Campers should be comfortable with if statements.

Activity

  1. added
    scope: curriculum
    status: waiting triage
    python v9 cert
    on Oct 6, 2026
  2. Supravisor commented on Oct 6, 2026

    @Supravisor
    Contributor

    Instead of removing the reference, maybe start the sentence with "Recall ...".

  3. majestic-owl448 commented on Oct 6, 2026

    @majestic-owl448
    Contributor

    We always add an explanation when the topic is used for the first time in a workshop, but for this workshop those are

    • Step 2: defining a function with def.
    • Step 3: local and global scope.
    • Step 6: declaring parameters and name shadowing.
    • Step 8: using return to exit a function and return a value.

    Instead, there are steps that have explanations for things used in previous workshops which explanation can be shortened or removed

    • Step 4: f-strings, previously used in Employee Profile Generator and Employee Profile Validator.
    • Step 5: calling functions, this was already done with built-in functions like print() and type() but it can be explained again for user-defined functions
    • Step 7: if statements, previously used in Movie Ticket Booking Calculator.
    • Step 10: passing arguments, this was already done with built-in functions like print() and type() but it can be explained again for user-defined functions
  4. jdwilkin4 commented on Oct 6, 2026

    @jdwilkin4
    ContributorAuthor

    For step 4, we can modify the language to say 'Recall in prior lessons...'
    But for step 7, we can remove that sentence about if statements completely since they had lessons, a workshop and lab before this all dealing with if statements.

    Opening this up for contribution.

  5. added
    help wanted
    and removed
    status: waiting triage
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedpython v9 certscope: curriculum

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions