Welcome to the Random Math Problem Generator! This project aims to provide students with randomly generated addition and subtraction problems to help improve their math skills.
- Generates a specified number of random addition and subtraction problems.
- Adds a separator line every 10 problems for easy viewing.
- Inserts a Word-compatible page break every 100 problems for convenient printing.
- Ensure that Python is installed on your computer.
- Save the code as
generate_math_problems.py
. - Run the script in the terminal or command line:
python 0to10.py python 0to20.py
The generated files are designed for easy copying into Word. Each section contains a clear separator line and page breaks, making it simple to format for printing. To print:
- Open the generated math_10.txt or math_20.txt file.
- Copy the content.
- Paste it into a Word document.
- Adjust the formatting if necessary, then print.
Contributions are welcome! If you have any questions or suggestions, please submit an issue or pull request.
This project is licensed under the MIT License. See the LICENSE file for details.