Skip to main content

RPN calculator for CLI

Project description

MIT License Maintainability

RPN Calculator for CLI

Environment

  • Python 2.7

  • Python 3.2 or later

Supported operations

Operation

Distraction

+

Addition

-

Subtraction

*

Multiplication

/

Division

%

Residue

^

Power

Example

Case: 10 * 5 + 2

Pattern 1

$ rpn
> 10
10
> 5*
50
> 2+
52
>

Pattern 2

$ rpn
> 10 5 * 2 +
52
>

Pattern 3

$ rpn -e "10 5 * 2 +"
52

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rpn_calculator-1.2.1.3.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file rpn_calculator-1.2.1.3.tar.gz.

File metadata

File hashes

Hashes for rpn_calculator-1.2.1.3.tar.gz
Algorithm Hash digest
SHA256 60191bbed987c0a696da47cc58ee40fe632a6f397b029d73b363e4917f38aea7
MD5 b7b205227f5c2af6ae025688b82ae984
BLAKE2b-256 b36b468f709098dd336a2967cbfbd58dda287b9f3b8e0d34e8f18b6bf77eef47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page