ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
Programming and Problem Solving through Python
: File Processing in Python
पायथन में किसी फ़ाइल में एक से अधिक पंक्तियाँ लिखने का सही तरीका निम्नलिखित में से कौन सा है? , Which of the following is the correct way to write multiple lines to a file in Python?
Which of the following is the correct way to write multiple lines to a file in Python?
A.
Use multiple write() statements.
Use multiple write() statements.
B.
Use writelines() method.
Use writelines() method.
C.
Use writeLine() method.
Use writeLine() method.
D.
Use append() method.
Use append() method.
Solution
B. Use writelines() method.
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad