##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 08\08.11 - my_sum function with mandatory and optional parameters.py
# Description: my_sum function with mandatory and optional parameters
##############################################################################
def my_sum(a, b, show=False):
s = a + b
if show:
print(s)
return s