text_plain_output_1.png
def changeme(mylist):
    """This changes a passed list into this function"""
    print('Values inside the function before change: ', mylist)
    mylist[2] = 50
    print('Values inside the function after change: ', mylist)
    return
mylist = [10, 20, 30]
changeme(mylist)
print('Values outside the function: ', mylist)