Create a Python script that takes a number and a power as parameters and calculates the result.
Example input: number=2 power=3
def power(number, power):
 return number**power

print(power(2, 3)) # Output: 8