li = [\'random values\', True] li[:] = \'some text\'
If I print this out, the list becomes [\'s\', \'o\', \'m\', \'e\', \' \', \'t\', \'e\', \'x\'
[\'s\', \'o\', \'m\', \'e\', \' \', \'t\', \'e\', \'x\'