Skip to content

Instantly share code, notes, and snippets.

@Sachin-crypto
Created January 22, 2022 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sachin-crypto/a732132be73132a95a049d69e7ab7a6f to your computer and use it in GitHub Desktop.
Save Sachin-crypto/a732132be73132a95a049d69e7ab7a6f to your computer and use it in GitHub Desktop.
with open("first.txt") as file_1, open("second.txt") as file_2, open("third.txt") as file_3:
f1 = file_1.read()
f2 = file_2.read()
f3 = file_3.read()
for lines in f1, f2, f3:
print(lines)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment