Question

Which of the following statements is a valid way to open the file test.data and associate it with unit 10

  • open(10,test.data)
  • open(10,’test.data’)
  • open(10, file= test.data )
  • open(10,file=’test.data’) (Correct Answer)

Answer is "open(10,file=’test.data’)"

2 Answer and explanations

You don't need to login to post your comment
84
Archana

please anyone explain this answer

86
Bhuvna

please explain answer

Post your answer

You don't need to login to post answer






Ask Question


Note: Options are optional, you can leave them blank