Respuesta :

for the first place we have 40 books to choose from
for the second place we have 39 books to choose from and so on.
there is 40! ways to put the books in a row on a shelf