Advertisements
Advertisements
प्रश्न
The writelines() method can write multiple lines with the help of:
पर्याय
iterable object
list
tuple
all of the above
MCQ
उत्तर
all of the above
Explanation:
It is critical to supply an iterable object containing strings, such as a list or tuple, to the writelines() method.
shaalaa.com
Writing to a Text File
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?