---
title: "Discussion on \"Function composition and inverse with Python\" | Hashnode"
description: "Discussion on \"Function composition and inverse with Python\". Yesterday I wanted to implement function composition and inverse.\n\nThe first approach with classes was this (check how to use it within the tests in classes Plus2 and Times5):\nclass ComposableInversible:\n    def op(self, *a, **kw):\n        pass\n    d..."
url: "https://hashnode.com/posts/function-composition-and-inverse-with-python/5f7e829d3de96f77a17a1205"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Function composition and inverse with Python](https://tenuki.hashnode.dev/function-composition-and-inverse-with-python?utm_source=hashnode&utm_medium=feed)

Yesterday I wanted to implement function composition and inverse. The first approach with classes was this (check how to use it within the tests in classes Plus2 and Times5): class ComposableInversible: def op(self, \*a, \*\*kw): pass d...

Oct 8, 2020 · 9 min read · tenuki.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#math](https://hashnode.com/tag/math)

## Written by

[david weil](https://hashnode.com/@tenuki)

@tenuki · Buenos Aires

  
[View profile](https://hashnode.com/@tenuki)

Software developer ..

Software developer/researcher mostly interested in computer security, math, optimization and internals/low-level stuff. My preferred programming languages are Smalltalk, Python and Javascript although I enjoy to use assembler and bytecode too. I&#39;m mad about photography, music, math, tech, Japan and its green teas.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
