daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. out = ""
  2. for i in range(1):
  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.         if b == "":
  12.             out += "\n"
  13.         al = a.readline()
  14.         bl = b.readline()
  15.  
  16.     a.close()
  17.     b.close()
  18.     out += "\n\n\n\n\n\n\n\n\n\n"
  19.  
  20. 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