thecodezone.
The Code Zone
Short steps, at your pace · Free lessons and practice · Member video walkthroughs
Save your next small win.

Checking your account…

ONE ACTIVITY. ONE SMALL WIN.

Put your Python values to work.

You have worked with Python’s core data types. Now combine their answers into rules. Start with and, or and not, then use if, elif and else to choose a path. Continue with conditional expressions and chained range comparisons, then apply them in the longer-name and grading challenges. Follow the original Skool order with separate video workspaces and short checked practices. Continue through the original for, for/else, nested and while videos with separate checked practices. Apply these skills in the even-sum and penny-doubling challenges. Continue with functions, default arguments and scope. Finish with the dog-age and temperature function challenges, then build the random color picker and review your foundations. All seven chapters are ready to work through. Complete Python Basics first if these values are new to you.

Cartoon Rob compares the answers produced by and, or and not on Boolean inputs.

01 / 9 ACTIVITIES

Conditions and decisions

Combine Boolean answers, choose a path with if/elif/else, choose values with conditional expressions, and check inclusive ranges. Practice the exact boundaries before the next challenge section.

0 of 9 complete

  1. 01.01Understand logical operatorsWatch · 13 min
  2. 01.02Practice logical operatorsPractice · 8 min
  3. 01.03Understand if, elif and elseWatch · 21 min
  4. 01.04Practice the pass boundaryPractice · 6 min
  5. 01.05Practice three-way decisionsPractice · 8 min
  6. 01.06Understand conditional expressionsWatch · 16 min
  7. 01.07Practice choosing a valuePractice · 6 min
  8. 01.08Understand chained comparisonsWatch · 9 min
  9. 01.09Practice inclusive rangesPractice · 6 min

02 / 4 ACTIVITIES

Conditional challenges

Compare name lengths, review the three outcomes, then build the original five-band grading task with additional A feedback.

0 of 4 complete

  1. 02.01Plan the longer-name challengeWatch · 6 min
  2. 02.02Build the name-length decisionPractice · 12 min
  3. 02.03Review the name-length solutionWatch · 8 min
  4. 02.04Build the grading systemPractice · 18 min

03 / 8 ACTIVITIES

Loops

Trace for/range, for/else, nested and while loops. Follow each original video in its own workspace, then practice the boundary, search or row structure.

0 of 8 complete

  1. 03.01Understand for and rangeWatch · 21 min
  2. 03.02Practice countdown rangesPractice · 7 min
  3. 03.03Understand for elseWatch · 16 min
  4. 03.04Practice a for else searchPractice · 8 min
  5. 03.05Understand nested loopsWatch · 16 min
  6. 03.06Practice a nested squarePractice · 8 min
  7. 03.07Understand while loopsWatch · 18 min
  8. 03.08Practice a while countdownPractice · 8 min

04 / 2 ACTIVITIES

Loop challenges

Compare two even-number sums, then trace thirty doublings of a starting penny. Both original tasks are text-only and include checked practice with an explained solution.

0 of 2 complete

  1. 04.01Sum even numbers two waysPractice · 18 min
  2. 04.02Track thirty doublingsPractice · 15 min

05 / 6 ACTIVITIES

Functions, defaults and scope

Define reusable tasks, return values, choose default arguments and track local versus caller bindings. Each original recording has an independent workspace and a separate checked practice.

0 of 6 complete

  1. 05.01Understand Python functionsWatch · 22 min
  2. 05.02Practice returning a valuePractice · 8 min
  3. 05.03Understand default argumentsWatch · 11 min
  4. 05.04Practice default argumentsPractice · 7 min
  5. 05.05Understand function scopeWatch · 17 min
  6. 05.06Practice local and caller valuesPractice · 8 min

06 / 4 ACTIVITIES

Function challenges

Plan and build the original dog-age converter, review its solution, then return Celsius temperatures from Fahrenheit inputs.

0 of 4 complete

  1. 06.01Plan the dog-age challengeWatch · 7 min
  2. 06.02Build the dog-age converterPractice · 12 min
  3. 06.03Review the dog-age solutionWatch · 7 min
  4. 06.04Convert Fahrenheit to CelsiusPractice · 12 min

07 / 2 ACTIVITIES

Final project and review

Build the original random color picker, verify every branch and review your completed Python foundations.

0 of 2 complete

  1. 07.01Build the random color pickerPractice · 30 min
  2. 07.02Review and next stepsReflect · 6 min

Written lessons and browser practice are free. Sign in to save activity completion, private code drafts and instructor submissions.