HF RL Explorer

Create a command-line tool at /app/fixcalc.py that performs fixed-point decimal arithmetic with 4 decimal…

Create a command-line tool at /app/fixcalc.py that performs fixed-point decimal arithmetic with 4 decimal…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - Read exactly one line from stdin (may be empty, may contain trailing newline or not) - The…

The task

**Input contract:** - Read exactly one line from stdin (may be empty, may contain trailing newline or not) - The expression consists of decimal numbers and operators `+`, `-`, `*`, `/` with optional whitespace - Numbers may have a leading sign (+ or -), integer part, optional decimal point, and optional fractional…

Part of ai-and/termgrade-environments.