s=input("请输入数字字符串")
i=0;j=0;k=6;sum=0
while j<len(s):
sum=sum+int(ch1)
while sum>k:
ch2=s[i]
i=i+1
if sum==k:
print("子串为:",)
break
j=j+1
else:
print("没有满足要求的子串。")