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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?