Skip to content

Instantly share code, notes, and snippets.

@Razzlegames
Created December 3, 2022 14:59
Show Gist options
  • Select an option

  • Save Razzlegames/672917fa54f53852ce6857465805b8b5 to your computer and use it in GitHub Desktop.

Select an option

Save Razzlegames/672917fa54f53852ce6857465805b8b5 to your computer and use it in GitHub Desktop.
a = []
b = a
a.append(6)
print("a = " + str(a))
print ("b = " + str(b))
# output:
# a = [6]
# b = [6]
# >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment