CBSE Class 12

Computer Science

02 File Handling in Python

30
Total
0
Attempted
0
Correct
0
Wrong
00:00:00
Q-1
What is the primary purpose of file handling in Python?
Easy Introduction to Files
A To store data permanently in files
B To speed up program execution
C To replace variables in memory
D To convert Python code into binary
Answer: To store data permanently in files
Explanation: File handling allows programs to store and retrieve data from files for long-term storage.