Welcome to Westonci.ca, the place where your questions are answered by a community of knowledgeable contributors. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

Which function is used to open a file for reading in Python?
a. read()
b. open()
c. open_file()
d. file()