Skip to content

thanos-coder2/math-multitool-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Mathematical Multi-Tool Program

A Python-based command-line calculator that supports basic arithmetic, advanced operations, binary logic, comparisons, and even a practice quiz mode for learning math interactively.

This project is written entirely in Python and demonstrates the use of functions, error handling, user input, and randomization.


Features

  • Basic Arithmetic: Addition, subtraction, multiplication, division, modulo, power, integer division, square root, absolute value.
  • Binary Operations: AND, OR, XOR, NOT AND (~a & b).
  • Comparisons: Greater than, less than, greater/less or equal.
  • Average: Quickly compute the mean of two numbers.
  • Practice Quiz Mode : Solve randomly generated math problems (+, −, ×, ÷) and get scored.

How It Works

  1. Run the program.
  2. Choose an operation from the menu.
  3. Input one or two numbers (depending on the operation).
  4. Get the result instantly.
  5. Type 7 for practice mode or exit to quit.

Requirements

  • Python 3.7+
  • No external libraries needed (only built-in math and random modules are used).

Usage

Clone the repository and run the program:

git clone https://github.com/thanos-coder2/math-multitool-python.git
cd math-multitool
python multitool.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages