Machine Learning MCQS - QUESTION DETAILS

Which command is used to check the installed version of Python in the command line interface?
A. python --version
B. python -v
C. version(python)
D. version()

The command python --version or python -V is used to check the installed Python version in the command line interface.

Similar Questions

What is the purpose of the 'venv' module in Python?






Which of the following commands is used to install a Python package using pip?






Which of the following is a significant contribution from the open-source community to Python's development?






What was the inspiration for the name "Python"?






Which of the following is NOT a key feature of Python?






What is the primary benefit of using a virtual environment in Python development?






Which command is used to create a virtual environment in Python using the 'venv' module?






Which of the following is NOT a recommended way to install Python on macOS?






Which command is used to check the installed version of Python in the command line interface?






What was the main motivation behind creating Python?