This Python script generates math calculation practice printouts in PDF format using the ReportLab library. It provides various types of printouts such as arithmetic operations, complements, and a 100 square calculation table.
- Generate arithmetic operation practice printouts.
- Generate complement practice printouts.
- Generate 100 square calculation practice printouts.
- Command-line interface for easy usage.
- Customizable paper size (A4 or B5).
- Python 3
- ReportLab library
-
Clone this repository:
git clone https://github.com/yourusername/math-practice-printouts.git
-
Navigate to the project directory:
cd math-practice-printouts
-
Install the required dependencies:
pip install reportlab
-
Run the script:
python 100masu.py A4 operations
Replace
A4
withB5
if you prefer B5 paper size. You can also replaceoperations
withcomplements
or100
for different types of printouts. -
Find the generated PDF file named
result.pdf
.
paper_size
: Choose the paper size (A4
orB5
).command
: Choose the type of printout (operations
,complements
, or100
).
Generate arithmetic operation practice printouts on A4 paper size:
python 100masu.py A4 operations
Generate complement practice printouts on B5 paper size:
python 100masu.py B5 complements
Generate 100 square calculation practice printouts on B5 paper size:
python 100masu.py B5 100