File Handling and Data Processing
Which function is used to open a file in Python?
What file mode should you use to write to a file (overwriting existing content)?
Write code to read all lines from a file called 'data.txt' and store them in a list called 'lines':
It's important to close files after opening them to free up system resources.
Which statement about CSV files is correct?