Computer Science, asked by iamkuhoo, 10 months ago

write a python program to perform file operations. .dont spam❤​

Answers

Answered by Anonymous
6

Answer:

hola mate.. ..

heres ur answer

i hope this will help uhh

file=open("a.txt","w")

file.write("This is Text File\n")

file.write("SSVPS BSD COE DHULE\n")

file.write("SY BTECH")

file.close()

file=open("a.txt","r")

for line in file:

print(line)

file.close()

plz mark brainliest ❤

Answered by Anonymous
0

Answer:

==============================================⬇️

file=open("a.txt","w")

file.write("This is Text File\n")

file.write("SSVPS BSD COE DHULE\n")

file.write("SY BTECH")

file.close()

file=open("a.txt","r")

for line in file:

print(line)

file.close()

⬆️=============================================

[I hope help ✔️❤️ ✌️

Similar questions