🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Modules and Libraries: all 14 questions

Quiz: Modules and Libraries · Question 13 of 14

What is the main reason to use a virtual environment?

What is the main reason to use a virtual environment?

  1. A.It makes Python run faster
  2. B.It is needed to run any Python file
  3. C.Each project gets its own installed packages and versions, without clashing with other projects
  4. D.It hides your code from other users
Answer & explanation

Correct answer: Each project gets its own installed packages and versions, without clashing with other projects

Project A can use one version of a library and project B another.

Can you get the rest right without peeking?

Take the timed Quiz: Modules and Libraries quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →