s="a123b456"
t=""
f=True
for i in s:
if "0"<=i<="9" and f:
t+=i
f=False
else:
print(t)
运行程序, 输出结果是( )
微信扫码预览、分享更方便