[Codewars]-Last digit of a large number

NoSuchKey