Computer Science, asked by Varunrf8336, 7 months ago

Read the code given below and answer the question: 2 File=open("first.txt","a") File.write("Students") File.close() If the file contains "hello" before execution, what will be the contents of the file after execution of this code

Answers

Answered by harshikesh26
0

Answer:

Read the code given below Read the code given below and answer the question: 2 File=open("first.txt","a") File.write("Students") File.close() If the file contains "hello" before execution, what will be the contents of the file after execution of this code answer the question: 2 File=open("first.txt","a") File.write("Students") File.close() If the file contains "hello" before execution, what will be the contents of the file after execution of this code

Answered by Oreki
0

The file (first.txt) will contain -

helloStudents

After execution of the program.

Similar questions