What does os.environ provide in Python?
Correct answer
A. A mapping of environment variables
5 views
A. A mapping of environment variables
5 views
os.environ['HOME'] reads environment variables.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is A? Ask here and get an explanation.