Question: To open a file in Python, we use a statement of the form data = open ( filename . ext, _ _ _ _

To open a file in Python, we use a statement of the form data = open("filename.ext", _______). What letter goes in the blank space if we want to open the file for reading? Blank 1. What letter goes in the blank spaceif we want to open the file for writing? Blank 2. What letter goes in the blank space if we want to open the file for appending? Blank 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!