Coder Social home page Coder Social logo

mathforson's Introduction

MathForSon

A collection of Python scripts designed to help children practice basic math operations through both command line and graphical user interfaces. These tools focus on operations involving fractions, integers, and simplification of expressions to enhance arithmetic skills.

Files

  • testFraction.py - Command line interface version that generates math problems based on specified parameters.
  • testFractionPrim.py - Graphical user interface version using Tkinter, providing a more interactive experience for solving math problems.

Installation

Ensure you have Python installed on your system. You can download Python from python.org. These scripts were written using Python 3.8 or higher.

Usage

Command Line Version

Run testFraction.py from your command line by navigating to the directory containing the script and executing:

python testFraction.py [number_of_problems] [max_base] [max_fraction]
  • number_of_problems: (Optional) The number of math problems to generate. Default is 5.
  • max_base: (Optional) The maximum value for the base numbers used in problems. Default is 30.
  • max_fraction: (Optional) The maximum value for the denominators used in problems. Default is 10.

Graphical User Interface Version

Run testFractionPrim.py by navigating to the directory containing the script and executing:

python testFractionPrim.py

This will open a new window where math problems will be presented one at a time. Enter your answers directly into the interface.

Features

  • Generate a specified number of math problems involving fractions and integers.
  • Choose from a range of difficulty levels by adjusting the max values for base numbers and fractions.
  • Immediate feedback on answers through the GUI version with visual indications of correct or incorrect responses.

Contributions

Contributions are welcome. If you have suggestions for improvements or have found bugs, please open an issue or submit a pull request.

License

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

mathforson's People

Contributors

miranov25 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.