This time we recycled the code of WSQ03, now writing a function for each calculation. Each function has two integer parameters given by the user and returns the correct value as an integer as well.

The code is found here:

https://github.com/CarminaP/WSQ/blob/master/WSQ08.py

CC BY 4.0 WSQ08 by carminaperezguerrero is licensed under a Creative Commons Attribution 4.0 International License.