摘要:
T1 程序:编写Python程序以读取和打印``egypt.txt''文件中的每一行。 下面给出了” egypt.txt”文件的示例内容。 Printing each line in the text file Ancient Egypt was an ancient civilization of 阅读全文
摘要:
T1 输出名单py直接把列表元素当变量这个功能真好使 grade=[['张三',88],['李四',92]] for i in grade: print(i) T2 元素之和 emmmmmmm a=[1,2,3,4,5,6,7,8,9,10] ans=0 for i in a: ans+=i pri 阅读全文