>>> from sous import * >>> round(aplica_percentatge (125, 6.5), 2) 8.12 >>> round(aplica_percentatge (144.5, 2.1), 2) 3.03 >>> quinquenis (2003, 2017) 2 >>> quinquenis (2001, 2016) 3 >>> round(sous (1000.0, 79876.43, 1.1, 103.2, 2015, 2018), 2) 1878.64 >>> round(sous (1651.5, 153876.43, 0.85, 103.2, 2006, 2018), 2) 3165.85