Build a Real Command-Line Tool
Replace fragile sys.argv reads with proper named, typed arguments.
A intermediate Linux challenge worth 10 points. Solve it hands-on in a real Linux environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: /home/labuser/lab/greet.py reads its inputs directly from sys.argv with no names, no type conversion, and no default - a real CLI tool uses argparse instead.
Task: Rewrite greet.py with argparse (--name required, --times an int defaulting to 1) so python3 greet.py --name Ana --times 3 prints Hello, Ana! three times. Run check when ready.