Write a python function to calculate the volume of a truncated cone. Include a doc-string and comments. The function should adhere to PEP8 and be production ready.