获得用户输入的一个正整数输入,输出该数字对应的中文字符表示。

template = "零一二三四五六七八九"

s = input()

for c in s:

print(template[eval(c)], end="")

posted @ 2020-05-20 15:54  阿伟啊啊啊啊  阅读(11704)  评论(0)    收藏  举报