Skip to content

This project is a simple random math problem generator that can generate addition and subtraction problems within 10 or 20. The generated problems can be used for students' math practice.

License

Notifications You must be signed in to change notification settings

PangciPG/Random-Math-Problem-Generator

Repository files navigation

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.

About

This project is a simple random math problem generator that can generate addition and subtraction problems within 10 or 20. The generated problems can be used for students' math practice.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages