Software Functional Programming Python