daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. out = ""
  2. for i in range(11):
  3.     a = open("a" + str(i).zfill(2), "r")
  4.     b = open("b" + str(i).zfill(2), "r")
  5.  
  6.     al = a.readline()
  7.     bl = b.readline()
  8.  
  9.     while al or bl:
  10.         out += al[:-1].ljust(50) + bl
  11.         al = a.readline()
  12.         bl = b.readline()
  13.  
  14.     a.close()
  15.     b.close()
  16.     out += "\n\n\n\n\n\n\n\n\n\n"
  17.  
  18. print(out)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top