From e5dcb7fe32b49e66f74f33fc817b38726d7dd810 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Tue, 21 Apr 2026 14:59:41 +0200 Subject: [PATCH] print changes --- src/tea3/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tea3/cli.py b/src/tea3/cli.py index b1a315b..5590f86 100644 --- a/src/tea3/cli.py +++ b/src/tea3/cli.py @@ -8,7 +8,7 @@ def prompt_int(message: str, lo: int, hi: int) -> int: try: value = int(raw) except ValueError: - print("Please enter a whole number.") + print("Please enter a number.") continue if lo <= value <= hi: return value @@ -24,7 +24,7 @@ def main() -> None: print("\nR registers are indexed 0–7; bits within each register are 0–7.") reg = prompt_int("Which R register do you want to inspect? (0–7): ", 0, 7) - bit = prompt_int("Which bit of that register? (0–7): ", 0, 7) + bit = prompt_int("Which bit of that register? (0–7): ", 0, 7) print(f"\nRunning {steps} step(s), watching R[{reg}][{bit}]") print("-" * 50)