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 is the correct way to open a file for writing in Python?
open("myfile.txt", "w")
open("myfile.txt", "rw")
open("myfile.txt", "a")
open("myfile.txt", "r")
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!