Extract Rightmost Digit in Python (Challenge)

# Introduction In this challenge, we will define a function `f(n, k)` that returns the k-th digit from the right side of the integer `n`. The function should be completed in the given code template and the expected output should match the provided output. Remember to follow the requirements, such as not modifying the existing code and making sure the return type of the function is `int`.

|60 : 00

Click the virtual machine below to start practicing