c32team

copy

Sep 21st, 2023
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. first_list = [[0, 1, 2], [3, 4, 5]]
  2. second_list = list(first_list)
  3. first_list.append([6, 7, 8])
  4. first_list[1][0] = 9
  5.  
  6. print(first_list)
  7. print(second_list)
  8.  
Add Comment
Please, Sign In to add comment