QuestionQ100
Miscellaneous (List Comprehensions, Lambdas, Closures, I/O)Which of these statements are true?
Choose two
- A if open()'s second argument is 'r', the file must exist or open will fail
- B the second open() argument describes the open mode and defaults to 'w'
- C if open()'s second argument is 'w' and the invocation succeeds, the previous file's content is lost
- D closing an opened file is performed by the closefile() function
Community Discussion