Social Icons

Saturday, 29 May 2021

Python Program || File Handling

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

 

Sample Text

Sample text

 
Just Programming Cse DriveReputation Management