Python Practice Test
Python File Input and Output 2
What does the 'a+' mode do when opening a file in Python?
Select your answer
A
Opens for reading only, pointer at start
B
Opens for reading and writing, pointer at end, creates file if missing
C
Opens for writing only, truncates file
D
Opens for reading and writing, truncates file
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 PYTHON Flashcards — Study This Quiz as Flip Cards →
📚 Want to go deeper? Read the Full PYTHON Study Guide →