Skip to main content

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

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.

Release history Release notifications | RSS feed

This release

1.2.1.3 This release

1 file

1.2.1.2

1 file

1.2.1.1

1 file

1.2.1

1 file

1.2.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page