Using *args in Python3 to define a function that takes a variable number of arguments (or none at all)

Photo by Janko Ferlič on Unsplash

The other day I ran into a problem asking me to provide one kind of output if an argument was given, and another if no argument was given.

For example — given a book, return the message: