1. Session 6 2. Session objectives (1) Understand what functions do Identify the function structure Discuss the arguments of a function Discuss return from the function Discuss…