摘要:
def func(): '''逻辑题''' for i in range(1000): if i%7==0 and (i%2-1)==0 and (i%3-1)==0 and (i%4-1)==0 and (i%5-1)==0 and (i%6-1)==0: if i: print(i) #先打印符 阅读全文
摘要:
def foo(): '''找到a开头的元素、组成新的列表''' src = ['abc','sac','des','yhg','acc'] new_list=[] for i in src: if i.startswith('a'): new_list.append(i) print(new_li 阅读全文
摘要:
第一题:select SC1.S# from SC SC1 JOIN SC SC2 ON SC1.S#=SC2.S# WHERE SC1.C#='001' AND SC2.C#='002' AND SC1.score>SC2.score; 第二题:select S#,AVG(score) as '平 阅读全文