python基础:元组;字典·;迭代查询·
# a=input('请输入字符串:')# b=0# i=0# while i<len(a):# if '0'<=a[i]<='9':# b=b*10+int(a[i])# i+=1# print(b)‘’‘元组’’’# a=(1,2,3,4,5,6,7)# print(type(a)) ...