Guest User

Untitled

a guest
Jun 15th, 2019
62
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. N = 2
  2. A = []
  3. B = []
  4. for i in range(N):
  5. B.append(i)
  6. A.extend(B)
  7.  
  8. print(A)
  9. print(B)
  10.  
  11. [0, 0, 1]
  12. [0, 1]
RAW Paste Data