100 days of Python

100 days of Python

Python Day 23 – Sort

Python Day 23 ChallengeĀ 

  1. Sort an array of number from low to high
  2. then from high to low
  3. Sort an array of words based on their length
  4. sort nested arrays based on the second value
  5. Use one array to compare to another and make an array of indexes based on the firsts
  6. e.g. [‘a’,’b’,’c’] andĀ [‘c’,’b’,’a’,’a’,’c’] will print [2,1,0,0,2]

Good Luck




Video Solution below.

 

 

 

 

 

Leave a Reply

Name *
Email *
Website