Vidyalelo
Python · Q3

Files Handling in Python

Programming · Python · question 3

Q3

How can you write data to a file in Python?

A.
By using the write() method on a file object
Answer
B.
By using the save() function
C.
By using the put() function
D.
By using the append() method

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board