from random import randint


lst = [1, True, {1: ['a', 'zz'], 'z': 't'}]


def appender(lst):
    lst.append('TARAS')

appender(lst)
print(lst)