Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. with open('Data/b_res.txt', 'w') as f:
  2. f.write("{}\n".format(len(libs_ind)))
  3. for lib, books in zip(libs_ind, books_send):
  4. f.write("{} {}\n".format(lib, len(books)))
  5. f.write(' '.join(map(str, books)))
  6. f.write('\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement