Zovo Math Worksheet Maker

v1.0.0
io.github.theluckystrike/math-worksheets Checked 4 days ago Published 28 days ago

Make printable math worksheets with an answer key for a student or a whole class.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_math_worksheet Generate math worksheet

Use this when the user wants printable math worksheets ("math worksheets grade 2", "multiplication worksheets", "times tables worksheet", "subtraction worksheet no regrouping", "long division worksheet", "missing number worksheet", "fraction worksheet", "math worksheet with answer key"). If the user pastes or uploads their own problems (text or an image), first convert them into the problems list, one string per problem like "45 - 18", then call. Generates a seeded, reproducible PDF for Letter or A4 with Name, Date and Score lines, problems in column form or on one line, and an answer key on s…

ParameterTypeDescription
allow_negativeAllow subtraction answers below zero. Default false (no negative answers).
allow_repeatsWhen the rules allow fewer different problems than count, repeat some to reach count. Default false (the worksheet is shortened instead).
answer_keyAdd answer key pages at the end of the PDF. Default true.
countProblems per worksheet, 1 to 100. Default 20 (12 for long division). Example: 30
denominatorsstringFractions only: like (same denominator), unlike or any. Default like up to grade 4, unlike from grade 5.
digitsDigits per number: 2 for 2-digit numbers, or "3x1" for 3-digit by 1-digit (multiplication and long division). Example: "2".
gradeSchool grade K to 6 that sets sensible number sizes, e.g. 2 or "3rd grade" or "K". UK "Year 3" is read as grade 2.
layoutstringvertical (stacked column form, default; division uses the long-division bracket) or horizontal (on one line).
max_denominatorFractions only: largest denominator, 2 to 20. Default 12 (8 up to grade 3).
max_numberLargest number to use in the problems, e.g. 12 for times tables up to 12.
min_numberSmallest number to use in the problems (factors for multiplication, divisor and answer for division facts), e.g. 2.
missing_numbertrue for fill-in-the-blank problems like 7 + ? = 12. Default false.
name_linePrint Name, Date and Score lines. Default true.
operationWhat to practise: addition, subtraction, multiplication (times tables), division, division with remainders, mixed (all four), "addition and subtraction", missing number, or fractions (adding fractions…
paperstringPaper size: letter (default) or a4.
problemsYour own problems instead of generated ones: a list like ["12 + 7", "45 - 18", "6 x 7", "84 ÷ 4", "3/4 + 1/8", "7 + ? = 12"] or [{"a":12,"op":"+","b":7}], or pasted text with one problem per line. Up…
regroupingCarrying/borrowing rule for addition, subtraction and 1-digit multiplication: none (no regrouping), required (every problem regroups) or any (default). Example: "none"
seedSet number from an earlier result to print exactly the same problems again, e.g. 48213. Default: a new random set.
tableTimes table or fact family to focus on: one number or a list, e.g. 7 or "6, 7, 8" or [3, 4]. For division it is the divisor.
titlestringTitle printed at the top, e.g. "Emma's Subtraction Practice". Default: a title from the rules.
versionsNumber of different worksheets with the same rules (each with its own answer key), 1 to 10. Default 1.
withinKeep addition sums and subtraction starting numbers at or below this, e.g. 20 for "addition within 20".