Skip to content
PracticePlanned

Learn by building.

Ten categories, from your first variable to your first database query.

Sample exercises

largest.pyBeginner

Find the Largest Number

LoopsConditionsArrays
def largest(nums):    biggest = nums[0]    # compare each number    return biggest

$ scriptonx test largest.py

  • [3, 9, 2] → 9pending
  • [-5, -1] → -1pending
  • [7] → 7pending

Sample exercises. The practice library is being built.

How practice will work

Every attempt teaches something. Even the failed ones.

  1. 1

    Pick a challenge

    Choose a topic and difficulty that matches where you are.

  2. 2

    Write your solution

    Code it in the ScriptOnX editor.

  3. 3

    Run against tests

    See which test cases pass — and exactly which fail.

  4. 4

    Ask when stuck

    Explain Error and the AI Tutor help you understand the failure.

Practice is coming. The workspace is here.