fork download
  1. N = int(input())
  2. A = [0] * N
  3. for i in range(N):
  4. A[i] = int(input())
  5. B = A
  6. print("A =", A)
  7. print("B =", B)
  8.  
Success #stdin #stdout 0.09s 14136KB
stdin
5
10
20
30
40
50
stdout
A = [10, 20, 30, 40, 50]
B = [10, 20, 30, 40, 50]