avatar Bite 135. Sort a list of book objects

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!

Login and get coding
go back Intermediate level
Bitecoin 3X

Will you be Pythonista #146 to crack this Bite?
Resolution time: ~33 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 2.12 on a 1-10 difficulty scale.
» You can do it! 😌

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help