I put integers into list and then sort it:
a,b,c,d,e,f = 3,6,2,8,1,2
list1=[a,b,c,d,e,f]
list5.sort()
Now I want to print the sorted list as string, but to see the variables, like:
efcabd
I can't figure it out.
Thank you!
I put integers into list and then sort it:
a,b,c,d,e,f = 3,6,2,8,1,2
list1=[a,b,c,d,e,f]
list5.sort()
Now I want to print the sorted list as string, but to see the variables, like:
efcabd
I can't figure it out.
Thank you!