Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/WorkTeam01/team-practice/llms.txt

Use this file to discover all available pages before exploring further.

After completing the installation, the calculator is ready to use immediately — no build step or configuration file required. You can launch either the graphical window or the interactive command-line shell from the project root directory, and switch freely between the two depending on your workflow.

Launch the calculator

Start the GUI with:
python src/gui.py
A dark-themed calculator window (330 × 450 px) opens with a large display at the top and a grid of buttons below it. The color scheme uses a deep charcoal background (#1E1E1E), white text, and amber-orange operator buttons — designed to be easy on the eyes for extended use.Your first calculation — entering 5 + 3:
  1. Click 5 — the display shows 5.
  2. Click + — the operator is recorded; the display holds 5.
  3. Click 3 — the display updates to 3.
  4. Click = — the display shows the result: 8.
You can also type the same sequence directly from the keyboard: press 5, +, 3, then Enter or =.

Your first parenthesized expression

Both interfaces support full parenthesized expressions, including nested groupings. The expression (2+3)*4 evaluates to 20 — here is how to enter it in each mode:
  1. Click ( — display shows (, and the calculator enters expression mode.
  2. Click 2 — display: (2.
  3. Click + — display: (2+.
  4. Click 3 — display: (2+3.
  5. Click ) — display: (2+3).
  6. Click * — display: (2+3)*.
  7. Click 4 — display: (2+3)*4.
  8. Click = — display shows the result: 20.
You can type the same expression directly from the keyboard: (, 2, +, 3, ), *, 4, Enter.

Try a scientific function

In addition to basic arithmetic, the calculator exposes three scientific functions: abs (absolute value), max (larger of two numbers), and min (smaller of two numbers).
abs — absolute value of a single number:
  1. Click -, then 5 — display shows -5.
  2. Click abs — display shows 5.
max — maximum of two numbers:
  1. Click 1, 0 — display shows 10.
  2. Click max — the first number (10) is stored and the operator set to max.
  3. Click 2, 0 — display shows 20.
  4. Click = — display shows 20.
min — minimum of two numbers:
  1. Enter 10, click min, enter 20, click = — result is 10.
The full list of supported operators, scientific functions, and parenthesized expression syntax is documented in the Operations Reference. Check there for examples of nested expressions, negative number handling, and error cases such as division by zero or even-root of a negative number.

Build docs developers (and LLMs) love