Python Questions and Answers – Files – 5
This set of Python written test Questions & Answers focuses on “Files”. 1. Which of the following is not a valid mode to open a file? a) ab b) rw c) r+ d) w+ 2. What is the difference between r+ and w+ modes? a) no difference b) in r+ the pointer is initially placed … Read more