A young programmer Mark wants to calculate the following expression:
- First, get the remainder of dividing
abyb. - Raise
bto the power ofa. - Subtract the two resulting numbers.
- Get the absolute value of the subtraction.
But it seems that he made several errors in the code. In the Numeric Types section of the documentation, you can find a table describing the operations Mark wanted to perform.
You don't need to call the some_calculate() function or read from the input. Just implement the function and print the result after corrections.