1. 程式人生 > >python for循環

python for循環

eight int lec substr sel size sub range 循環

sql1="select  distinct SUBSTRING (name,3,8)  from profin_application "
cr.execute(sql1)
dict1=cr.fetchall()
i=0
l=len(dict1)
for i in range(l):
print dict1[i][0]

python for循環