Skip to content

Formats and arranges up to five simple addition and subtraction problems vertically and side-by-side. Validates input for proper operators, digit-only numbers, and length limits. Optionally displays answers. Demonstrates string formatting, input validation, and error handling in Python.

Notifications You must be signed in to change notification settings

hcando83/arithmetic-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Arithmetic Formatter Project

This project formats basic addition and subtraction problems vertically to help visualize them clearly.

How to Run

Run the main script with Python 3:

python3 app.py

## Example
input : ["32 + 698", "3801 - 2"]
output:    32      3801
        + 698    -    2
        -----    ------

About

Formats and arranges up to five simple addition and subtraction problems vertically and side-by-side. Validates input for proper operators, digit-only numbers, and length limits. Optionally displays answers. Demonstrates string formatting, input validation, and error handling in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages