Which of the following statements are true regarding the opening modes of a file?
When you open a file for reading, if the file does not exist, an error occurs
When you open a file for writing, if the file does not exist, an error occurs
When you open a file for reading, if the file does not exist, the program will open an empty file
When you open a file for writing, if the file does not exist, a new file is created
To get all Infosys Certified Python Associate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee