What is the primary purpose of creating a virtual environment in Python development?
A. To manage Python environments
B. To install Python packages
C. To execute Python scripts
D. To write Python code
Virtual environments in Python are used to manage project dependencies and isolate project environments.