What is the output of the following code:
with open('data.txt', 'w') as file:
file.write('Hello, world!')
file.write('Hello, world!')
What is the output of the following code:with open('data.txt', 'w') as file: Correct Answer The file data.txt will be empty
file.write('Hello, world!')
মোঃ আরিফুল ইসলাম
Feb 20, 2025