Refer to the exhibit. A user runs 'python --version' and gets 'Python 3.9.1'. Which command would run Python 2 instead?
Trap 1: python --version2
Invalid option.
Trap 2: python3
python3 runs Python 3.
Trap 3: python2 --version
Although python2 runs Python 2, the question asks for the command to run Python 2, not necessarily with --version.
- A
python --version2
Why wrong: Invalid option.
- B
python2
python2 is a separate executable and will run Python 2.
- C
python3
Why wrong: python3 runs Python 3.
- D
python2 --version
Why wrong: Although python2 runs Python 2, the question asks for the command to run Python 2, not necessarily with --version.