Define a function that takes a number n and returns a function that, in its turn, takes x as an argument and returns the remainder of the division of x by n.
You don't have to handle input or print anything, just implement the function.
In
create_function(n), return a lambda function with the argument x that calculates x % n.