Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created August 30, 2021 22:44
Show Gist options
  • Save IndhumathyChelliah/de8b89b2fe99bb937164186f1a828293 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/de8b89b2fe99bb937164186f1a828293 to your computer and use it in GitHub Desktop.
#modifying original_list
original_list.append(99)
print(original_list)
#Output:[1, 2, 3,99]
print(copied_list)
#Output:[1, 2, 3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment