sidorenkov

Untitled

Jun 25th, 2021 (edited)
118
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Это работет так, как я и ожидаю
  2. def change_list(_list):
  3.     _list.append(100)
  4.    
  5. _list = [1, 2, 3]
  6. print("Before change:")
  7. print(_list)
  8.  
  9. change_list(_list)
  10. print("After change:")
  11. print(_list)
  12.  
RAW Paste Data