This starter task asks you to implement a small terminal-facing validator that checks whether a Python virtual environment is active (conda or venv) and reports the versions of numpy, pandas, and scikit-learn that are installed in the current environment. You will supply the desired versions via command line arguments, and the script will compare the installed versions against them and print a clear pass/fail summary.
What you will build
A self-contained Python script named final_validation.py that can be run from a terminal.
It detects the active environment (conda, venv, or system Python).
It prints the installed versions of numpy, pandas, and scikit-learn.
It accepts three version targets via command line: --numpy, --pandas, --scikit-learn.
It compares installed versions to the targets and prints a pass/fail summary. The script should exit with code 0 on success (all three match) or 1 on any mismatch or missing package.