We use Python 3.6

go back Level: Intermediate (img: IM / score: 3) level Bite 135. Sort a list of book objects

8 out of 8 users completed this Bite ...
Will you be Pythonista #9 to crack this Bite?
Average Bite difficulty 1-10 rating: 3.0
» You can do it! 😌

In this Bite you are going to look at a list of Book namedtuples and sort them by various criteria. Complete the 4 functions below. Consider using lambda and/or one or more helper functions and/or attrgetter (operator module). Good luck and have fun!

Github login button