A developer needs to check the version of the running Python package. Which command should the developer use?

IT Exam Items RepositoryCategory: DevNetA developer needs to check the version of the running Python package. Which command should the developer use?

A developer needs to check the version of the running Python package. Which command should the developer use?

  • python3 -i
  • python3 -q
  • python3 --v
  • python3 -V

Explanation: The command python3 starts Python, but adding the -V option displays the specific version being used.

Related exam: 1.3.4 Quiz - Python Review