QuestionQ38Verified/Miscellaneous (List Comprehensions, Lambdas, Closures, I/O)Copy linkReport a problemAsk AstroTutorSave questionWhich of the following statements is true?Choose twoAif invoking open() fails, the value None is returnedBopen() is a function which returns an int that represents a physical file handleCthe second open() argument is optionalDstdin, stdout, stderr are the names of pre-opened streamsShow AnswerAnswerExplanationPython’s open() function has an optional second mode parameter that defaults to reading text ("r"). The standard streams stdin, stdout, and stderr are pre-opened input, output, and error streams.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion