摘要: 6.3 http://www.51voa.com/VOA_Special_English/pakistan-town-struggles-with-rise-in-hiv-infections-82182.html Pakistan/Pakistani, pay more attention to 阅读全文
posted @ 2019-06-09 17:33 武汉徐哥 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 6.3 http://www.51voa.com/VOA_Special_English/pakistan-town-struggles-with-rise-in-hiv-infections-82182.html Pakistan/Pakistani, pay more attention to 阅读全文
posted @ 2019-06-03 21:02 武汉徐哥 阅读(114) 评论(0) 推荐(0) 编辑
摘要: notes 6.2 to 5.30 http://www.51voa.com/VOA_Special_English/suicide-rates-among-young-americans-on-the-rise-especially-girls-82174_1.html suicide/suici 阅读全文
posted @ 2019-06-02 16:31 武汉徐哥 阅读(151) 评论(0) 推荐(0) 编辑
摘要: lambda将创建一个匿名函数, 函数的主体是一个表达式,可以通过一个变量接收返回值 对于功能简单的函数,可以用lambda替代def 一般形式 f = lambda arg1, arg2, ... argn: expression e.g. 复杂一点的例子 和def的比较 提供了两个列表,对相同位 阅读全文
posted @ 2019-05-22 11:21 武汉徐哥 阅读(229) 评论(0) 推荐(0) 编辑
摘要: The Python Software Foundation (PSF) is a 501(c)(3) non-profit corporation that holds the intellectual property rights behind the Python programming l 阅读全文
posted @ 2019-05-04 16:18 武汉徐哥 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 看到一段代码,判读输入的数字,用的是eval(input()),查了一下,原来input()会把所有输入值,包括数字,视为字符串,而eval()会去掉字符串最外层的引号,然后当做Python语句执行[mark:语句or表达式,应该是表达式!],直观理解是:看起来像数字的字符串变成数字了。。。 一个反 阅读全文
posted @ 2019-05-02 16:17 武汉徐哥 阅读(10850) 评论(0) 推荐(1) 编辑