Plzz tell me that what does this question mean


2/14/2020 5:16:35 AM


5 Answers

New Answer


the argument will be nested tuples, for example ((1,2), (5), (3,1,4)) Your function should rearrange the order, based on length. In above case, output ((5), (1, 2), (3,1,4)). If you need more input / output example, please let me know


Rearrange order. Take above example the elements in the tuple are (1,2) (5) (3,1,4) they are all tuples, but their length is different (1,2) has a length of 2 (5) has a length of 1 (3,1,4) has a length of 3 so you rearrange the order based on their length.


Okay Thanks a lot I understand


Yeah.. Now I understand


https://code.sololearn.com/cL3e5quQ48v9/?ref=app Is this code is correct?