Which command creates a virtual environment in Python?
Correct answer
A. python -m venv env
A. python -m venv env
python -m venv <name> creates a virtual environment.
Asked in: Python Interview Advanced Python
https://docs.python.org/3/library/index.htmlNot sure why the answer is A? Ask here and get an explanation.