python
表示数字
http://www.nowcoder.com/questionTerminal/637062df51674de8ba464e792d1a0ac6
while True:
try:
a=input()
A=''
num='1234567890'
if a[0] in num:
A=A+''
A=A+a[0]
for i in range(1,len(a)):
if str(a[i-1]) not in num and str(a[i]) in num:
A=A+''
elif str(a[i-1]) in num and str(a[i]) not in num:
A=A+'*'
A=A+str(a[i]) if a[-1] in num: A=A+'*' print(A) except: break