Let\'s say we have an integer n = 123 and want to convert it into constituent digits d = [1, 2, 3]. Among two possible options,
n = 123
d = [1, 2, 3]
def