Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.3 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.3 KB

Random Math Problem Generator

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.

Table of Contents

Project Features

  • 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.

How to Use

  1. Ensure that Python is installed on your computer.
  2. Save the code as generate_math_problems.py.
  3. Run the script in the terminal or command line:
    python 0to10.py
    python 0to20.py
    

Formatting for Printing

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.

Contributing

Contributions are welcome! If you have any questions or suggestions, please submit an issue or pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.