I know for some of you it may be a silly question, but it is a confusion for me. how it works without assigning to a variable and how it's updated value is usable.
This code print sorted list
Python code
data=[23,11,32,89,52,99]
data.sort()
print(data)