Multiple Choice
Which mode specifier will erase the contents of a file if it already exists and create the file if it does not already exist?
A) 'w'
B) 'r'
C) 'a'
D) 'e'
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: What will be the output after the
Q11: A filename _ is a short sequence
Q12: A(n)_ gives information about the line number(s)that
Q13: Given that the customer file references a
Q14: When a piece of data is read
Q16: In Python,there is nothing that can be
Q17: Which method could be used to strip
Q18: A(n)_ block includes one or more statements
Q19: Which step creates a connection between a
Q20: Which type of file access jumps directly