मराठी

Which is the correct syntax for closing a file using Python? -

Advertisements
Advertisements

प्रश्न

Which is the correct syntax for closing a file using Python?

पर्याय

  • io.close(file_name, access_mode)

  • file_object.close(file_name)

  • file_object.close()

  • file.file_object.close()

MCQ

उत्तर

file_object.close()

shaalaa.com
Opening and Closing a Text Files
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×