dx={"0":"零","1":"壹","2":"贰","3":"叁","4":"肆","5":"伍","6":"陆","7":"柒","8":"捌","9":"玖"}
dw="亿仟佰拾萬仟佰拾元"
money=input("请输入金额(整数,不得超过9位):")
zh=""
t=""
if ① :
print("输入的数据超出所能转换的范围。")
else:
for i in range(0, len(money)):
t= ② #取出第i位小写对应的大写
dwz=len(dw)-len(money)+i #计算该小写数字对应的单位在dw中的索引号
③
print(money+"的大写为:"+zh+"整")