β
Correct Answer: (A)
yes
Explanation: yes we can create a file in python. creation of file is as shown below. file = open(“newfile.txt”, “w”) file.write(“hello world in the new file\n”) file.write(“and another line\n”) file.close().
Explanation by: Mr. Dubey
yes we can create a file in python. creation of file is as shown below. file = open(“newfile.txt”, “w”) file.write(“hello world in the new file\n”) file.write(“and another line\n”) file.close().
Discussion
Question Analytics
860
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
88%
Success Rate