+ 7
Challenge 4
Make a sublist of [1,8,6,4,3,2,2,7,9,2] into [1,8,6,4,3] and [2,2,7,9,2] sort the sub list and join two list and sort again and remove duplicate
1 Antwort
+ 6
Hmm... actually the last task kind of makes all other redundant. You just:
print(sorted(set(full)))
to achieve the final effect. A code below:
https://code.sololearn.com/cbRvXBUNesQZ/?ref=app