The quiz where the difficulty automagically adapts to the player's Python knowledge

This is a question page. You can use this page to bookmark a question. Start a new quiz!

Question #891

An inverse function (or anti-function) is a function that "reverses" another function: if the function f applied to an input x gives a result of y, then applying its inverse function g to y gives the result x, and vice versa. Not all functions are invertible! Look at the example below, my_function() definitely cannot be inverted.

```
import random
def my_function():
return random.randint(100)
```

(stackoverflow.com/questions/15200560/calculate-inverse-of...)
Question difficulty: 🔵🔵🔵🔵🔵