摘要:
1.内置函数 # reversed()# l = [1,2,3,4,5]# l.reverse()# print(l)# l = [1,2,3,4,5]# l2 = reversed(l)# print(l2)# 保留原列表,返回一个反向的迭代器# l = (1,2,23,213,5612,342, 阅读全文
摘要:
1.复习 2.作业讲解 # def check_file(filename,aim): # with open(filename,encoding='utf-8') as f: #句柄 : handler,文件操作符,文件句柄 # for i in f: # if aim in i: # yield 阅读全文