f1=open("new.txt","r")
f2=open("jk.txt","w")
y=[]
for x in f1.readlines():
y.append(x)
f2.write(x)
f2.close()
f1.close()
print(y)
Programs Based on c/c++/java
f1=open("new.txt","r")
f2=open("jk.txt","w")
y=[]
for x in f1.readlines():
y.append(x)
f2.write(x)
f2.close()
f1.close()
print(y)
No comments:
Post a Comment