Question 1:
Which of the following is NOT one of the four modes for opening a file in Python, using the open() function?
- Response: "d" (delete)
Question 2:
The following lines of code will create a new .txt file. What will the file contain?
- Response: Hello World! 5
Question 3:
If we wanted to separate parts of a text file using a specified parameter and put them in a list, we might use which Python function?
- Response: split()