NIELIT O Level Exam

Which statement will return one line from a file (file object is f) ?

Which statement will return one line from a file (file object is f) ?

कौन सा स्टेटमेंट फ़ाइल (file object is 'f) से एक पंक्ति प्रस्तुत करेगा |

A. f.readlines()

B. f.readline()

C. f.read()

D. f.line()




Correct Answer is :

B. f.readline()



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad