Let's suppose we want raise x to a number y.
You'd write this as:
def raise_power(x, y):
return x**y
What if your y value can assume a finite set of values?
Let's suppose y can be one of [3,4,5] and let's say you don't want offer end user the possibility to use such function since it is v...