NIELIT O Level Exam

Which method is used to read the entire content of a file as a string in Python?

Which method is used to read the entire content of a file as a string in Python?

पायथन में फ़ाइल के पूरे डाटा को स्ट्रिंग के रूप में पढ़ने के लिए किस फंक्शन का उपयोग किया जाता है?

A. read()

B. readline()

C. readlines()

D. load()




Correct Answer is :

A. read()



Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad