文章目录
题目
python3 解法
# Focus on the mutual transformation between string and number
N = input()
count = 0
for i in N:
count += int(i)
ans = str(count)
nums = ['zero','one','two','three','four','five','six','seven','eight','nine']
res = []
for i in ans:
res.append(nums[int(i)])
print(' '.join(res)) # Be familiar with the usage of join