06 2019 档案
摘要:用Python基本库实现进度条效果几个要点:1. \r,重置光标2. time.perf_counter,计算运行时间3. 用format控制输出格式 1 #progress bar2 2 #The sytle of prgress bar will be shown as below 3 ##16%[********->----------------------------------...
阅读全文
摘要:请编写程序,生成随机密码。具体要求如下: (1)使用 random 库,采用 0x1010 作为随机数种子。
阅读全文
摘要:6.17 http://www.51voa.com/VOA_Special_English/are-these-us-treasures-about-to-be-destroyed-82260_1.html neighborhood National Trust for Historic Prese
阅读全文
摘要:strip会去除给定字符串的指定字符,指定字符可以是一个或多个,去除从左右分别进行,没有则忽略,如果需要去除某个中间的字符,必须先去除外围的字符 看几个例子,以s为例,故意设置为非对称结构, case1:去空格,case2:去空格和=,case3:去空格,=和ncase4:去空格和=,但次序颠倒一下
阅读全文
摘要:6.10 http://www.51voa.com/VOA_Special_English/blackbeard-s-ship-comes-to-the-us-supreme-court-82217_1.html private/pirate terrorize claim the rights t
阅读全文
摘要:参考了网上的文章,说 表达式的结果是值,对象 比如1+2, 是表达式 具体根据运算符不同有算术,逻辑,比较等等类型的表达式 语句是控制程序走向,不产生值 例如if/else等 参考: https://blog.csdn.net/qq_37566910/article/details/84563438
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号