Last three characters

Product codes end in a three-character batch number. Write batch(code) that returns the last three characters of code.

batch("SKU-1042-A7B")  ->  "A7B"
batch("BRD-001")       ->  "001"

code always has at least three characters.

def batch(code):
    ...