Question: 
Write a function to get a colon of a tuple.


Model's Code:
def colon_tuplex(tup, index, value):
    tup_list = list(tup)
    tup_list[index] = [value]
    return tuple(tup_list)



Sample Correct Code:
from copy import deepcopy
def colon_tuplex(tuplex,m,n):
  tuplex_colon = deepcopy(tuplex)
  tuplex_colon[m].append(n)
  return tuplex_colon


Asserts:
assert colon_tuplex(("HELLO", 5, [], True) ,2,50)==("HELLO", 5, [50], True) 
assert colon_tuplex(("HELLO", 5, [], True) ,2,100)==(("HELLO", 5, [100],True))
assert colon_tuplex(("HELLO", 5, [], True) ,2,500)==("HELLO", 5, [500], True)


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 307 of 974: 222/307 (72.31270358306189%): success