Note for a beginner:
All the above functions can be embedded withing a single function and then, the desired function could be called. Using functions for programming makes everything easier since you can always call them once you have created them. This boosts a programmer’s speed and accuracy as the code becomes clear and hence, easier to debug. Moreover, it saves time since you don’t have to rewrite large blocks of code.
