In [14]:
a = [1, -9, 8, -5, 3]
In [15]:
a.sort()
In [16]:
a
Out[16]:
In [17]:
b = 'melania'
In [18]:
b =list(b)
In [19]:
b
Out[19]:
In [23]:
b.sort()
print(b)
In [27]:
'*'.join(b)
Out[27]:
In [28]:
''.join(b)
Out[28]: