Python program to combine each line from first file with the corresponding line in second file
with open('file1.txt') as f1,open('man.txt') as f2:
for l1,l2 in zip(f1,f2):
# print(l1+l2)
l1=l1.strip()
l2=l2.strip()
print(l1+l2)
Python program to combine each line from first file with the corresponding line in second file
with open('file1.txt') as f1,open('man.txt') as f2:
for l1,l2 in zip(f1,f2):
# print(l1+l2)
l1=l1.strip()
l2=l2.strip()
print(l1+l2)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us