摘要:
Longman Hardly a week goes by without some food scare being reported in the media.Hardly a month goes by without another factory closing down. Collins 阅读全文
posted @ 2020-07-01 22:48
profesor
阅读(361)评论(0)推荐(0)
摘要:
import sys # print(help(sys.stdout)) sys.stdout.write("the quick brown fox jumps over the lazy dog.") #返回值是字符串长度 sys.stderr.write("to err is humane, t 阅读全文
posted @ 2020-06-26 20:32
profesor
阅读(814)评论(0)推荐(0)
摘要:
students = [("jerry", 25), ("elaine", 24), ("John", 34), ("kramer", 34)] #把年龄在30以上的学生信息提取出来 print([item for item in students if item[1] > 30]) #把年龄在30 阅读全文
posted @ 2020-06-18 20:49
profesor
阅读(167)评论(0)推荐(0)