摘要:
author:多测师_王sir def func(str): ''' :param str: 传入一个字符串"My name is Shopline,and i am 2,0000 days old" :return: ''' result = [] s = str.split() #先进行分割为列 阅读全文
摘要:
def func(list1): list2 =[] for i in range(len(list1)): sum = 1 for j in list1: sum*=j sum = sum//list1[i] list2.append(sum) print(max(list2)) value=[4 阅读全文
摘要:
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) #先打印符 阅读全文