Q9
How can you create a new file in Python if it doesn't exist?
A.
By using the 'x' mode when opening the file
AnswerB.
By using the 'create' keyword
C.
By using the new() function
D.
By using the 'c' mode when opening the file
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board