题目
题目

4510_COMP_SCI_X_0010 W08 Quiz

多项选择题

Which of the following statements about modes are correct in the context of the open function?

选项
A.Opening a file in 'a' mode allows writing to a file.
B.Opening a file in 'w' mode allows writing to a file.
C.Opening a file in 'x' mode executes the file.
D.open returns a file object.
查看解析

查看解析

标准答案
Please login to view
思路分析
When evaluating statements about modes in the context of the open function, it's helpful to recall what each mode does and what the open function returns. Option 1: 'Opening a file in 'a' mode allows writing to a file.' In append ('a') mode, writes are permitted; data is added to the......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!