Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following lines correctly opens a file named "data.txt" for reading using a context manager?
open("data.txt") with f:
with open("data.txt", "r") as f:
open("data.txt", "r") as f:
with open("data.txt", "read") as f:
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!