练习一:打出1-100之间的所有偶数
def even_print():
for i in range(1,101):
if i % 2 == 0:
print (i)
even_print()
#列表解析式的方式:
k = [n for n in range(1,101) if n%2 == 0...
import os
class Get_lrcs():
#将lrc文件转换成字典
def lrc_to_dict(file_path:str,filenmae:str): #需要传入的参数:文件路径,文件名
with open(file_path+filenmae,encoding='utf8') as f...