Problem Description
Output digits of the integer
method one
方法一:我的垃圾方法,不推荐
lis=list(map(int,list(str(123))))
方法二:列表解析法
lis=[int(i) for i in str(233)]
Output digits of the integer
方法一:我的垃圾方法,不推荐
lis=list(map(int,list(str(123))))
方法二:列表解析法
lis=[int(i) for i in str(233)]