# coding=utf-8
# 一、
def digits(n):
list1 = []
for each in n:
list1.append(each)
return list1
print(digits('akjdg kaudygka')) # 二、
n = '123456'
list1 = []
for each in n:
list1.append(each)
print(list1) # 三、
result=[]
def get_digits(n):
if n>0:
result.insert(0,n%10)
get_digits(n//10)
get_digits(123456)
print(result)