p.PATCHLINGLITTLE CODE CLINICSmall repairs. Bright little friends.0 / 8 repaired
TODAY’S REPAIR REQUEST

    Label the little parts

    Edit the names and values. Lists use commas; text needs no quotes here.

    Prefer typing? Open the code pad

    Ctrl/⌘ + Enter checks your repair. Nothing typed is executed.

    Change a label, then test the repair.

    New to code? A tiny field guide

    Names are labels

    spark = 7 puts a number under a name. The name and value can both matter. Each name must be different.

    Three kinds of parts

    Numbers are whole 0–99. Text is a word such as "level". A list such as [1,3,5] is a pocket of numbers.

    Meet every request

    A prime has only two divisors, such as 2, 3, 5 or 7. A palindrome reads the same backwards. Ascending lists go smallest to largest.