SKILL

Views0
PublishedFeb 7, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

Calculate RPN Expression

Calculates the result of an arithmetic expression in Reverse Polish Notation (RPN) for performing mathematical computations.

guidelines:

  • Run the script directly.

Run Script

Usage: python scripts/tool.py <expression>

python scripts/tool.py 1 1 +
python scripts/tool.py 12 6 / 3 ** 10 2 * + 1 // 5 - 4 %
python scripts/tool.py 7 7 * 73 * 127 * 337 * 92737 * 649657 *
Contents
Share: