I wonder why if I split a string with multiple characters into a list, then del function works only if I save the list into a new object?
Example:
x = 'Hello world'
del x.split()[0]
print(x)
out: Hello world
y = x.split()
del y[0]
print(y)
out: ['world']