title: How changing object value of tuple is possible using copy by reference?
body: <p>I am learning Python data structures. If Tuples are considered immutable, can anyone explain me how changing object value of tuple is possible using copy by reference? </p>
  
  <pre><code>&gt;&gt;&gt; tuple1=[20,30,40]
  &gt;&gt;&gt; tuple2=tuple1
  &gt;&gt;&gt; print(tuple2)
  [20, 30, 40]
  &gt;&gt;&gt; tuple2[1]=10
  &gt;&gt;&gt; print(tuple2)
  [20, 10, 40]
  &gt;&gt;&gt; print(tuple1)
  [20, 10, 40]
  </code></pre>