python for循环

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]
原文地址:https://www.cnblogs.com/1314520xh/p/7233612.html