MCQ Single Best Answer Not Set

QWhat does the following statement do?
x = open('python.csv', 'a')

ID: #3726 Python File Handling 247 views
Question Info
#3726Q ID
Not SetDifficulty
Python File HandlingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Opens or creates a text file named python.csv to write
  • B Opens or creates a text file named python.csv to append
  • C Opens or creates a text file named python.csv to read
  • D Opens a new file named python.csv to append
Correct Answer: Option B

Explanation

Opens or creates a text file named python.csv to append

Share This Question

Challenge a friend or share with your study group.