Skip to content

Instantly share code, notes, and snippets.

@computer-tutor
Created April 28, 2020 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save computer-tutor/07941aedfe841d1dd6c110db3625087b to your computer and use it in GitHub Desktop.
Save computer-tutor/07941aedfe841d1dd6c110db3625087b to your computer and use it in GitHub Desktop.
print('\nWelcome to Computer Tutor!')
f1_name = input('\nEnter the first (txt) file name:')
f2_name = input ('\nEnter the second (txt) file name:')
with open(f1_name) as f:
with open(f2_name,"w") as f1:
for line in f:
f1.write(line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment