# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

#
# <a href="https://colab.research.google.com/github/aviadr1/learn-python/blob/master/content/02_variables/notebooks/mutability_vs_immutability.ipynb" target="_blank">
# <img src="https://colab.research.google.com/assets/colab-badge.svg" 
#      title="Open this file in Google Colab" alt="Colab"/>
# </a>
#

x = 10

y = x

x

y

x = 20

y

y = x

y

x = x + 10

x

y = x
print(y)

x += 1

x

y

x = "blah"
y = x

x += "blah"
# x = x + "blah"

x

y

x = [1, 2, 3]
y = x

x += [4]

x

y

x = (1,2,3)
y= x

x += (4,)

x

y



StarcoderdataJupyterScriptsDedupFiltered