Skip to content

Instantly share code, notes, and snippets.

@tushar4303
tushar4303 / pyCatch.txt
Last active June 8, 2022 08:28
Imp points to be noted in python
----------------------------------------------------------------------------------
Python Notes
----------------------------------------------------------------------------------
#when you equate a list to a new list, it doesn't actually copy the list
but instead points to the locations in your original list thus any changes
made in the new list reflects in the old one as well
my_list = your_list
#to avoid this do: