Example usage of let function to assign a variable based on the associated argument - as part of exercises in Chapter 3