import re rmb_list = ['零','壹','贰','叁','肆','伍','陆','柒','捌','玖','拾','佰','仟','万','亿'] rmb_list2 = ['','拾','佰','仟','万','拾','佰','仟','亿'] s = input().split('.') s1 = s[0][::-1] s2 = s[1] res = '' # 计算小数点前面 if int(s1)>0: for i in range(len(s1)): if s1[i] == '0': res = rmb_list[int(s1[i])] + res ...