上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 练习是为了帮助你成长 0.Don't panic! 1.What are the inputs? 2.What are the outputs? 3.Work through some examples by hand 4.Simple mechanical solution 5.Develop i 阅读全文
posted @ 2017-08-24 11:05 Neo007 阅读(277) 评论(0) 推荐(0)
摘要: 此时 a,b 指向的地址所存的内容均被更改 阅读全文
posted @ 2017-08-24 10:57 Neo007 阅读(204) 评论(0) 推荐(0)
摘要: 优点:解决Python 库依赖问题 清华安装镜像 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 阅读全文
posted @ 2017-08-23 17:26 Neo007 阅读(235) 评论(0) 推荐(0)
摘要: How to repeat Procedures&Control CS重要概念 1.1 过程procedures 封装代码,代码重用 1.2 控制Control DEMO 阅读全文
posted @ 2017-08-21 22:14 Neo007 阅读(179) 评论(0) 推荐(0)
摘要: 右边的值先确定,然后再开始向左赋值 区分 阅读全文
posted @ 2017-08-21 21:22 Neo007 阅读(456) 评论(0) 推荐(0)
摘要: 概述 BNF是描述编程语言的文法。自然语言存在不同程度的二义性。这种模糊、不确定的方式无法精确定义一门程序设计语言。必须设计一种准确无误地描述程序设计语言的语法结构,这种严谨、简洁、易读的形式规则描述的语言结构模型称为文法。最著名的文法描述形式是由Backus定义Algol60语言时提出的Backu 阅读全文
posted @ 2017-08-20 13:00 Neo007 阅读(935) 评论(0) 推荐(0)
摘要: learning goal——search engine 1.Find datas crawl 2.Index 3.page rank String操作 提取网络中的链接 Extracting a link from its page 网页本质:字符串流 阅读全文
posted @ 2017-08-20 09:22 Neo007 阅读(277) 评论(0) 推荐(0)
摘要: 回文 palindrome Python 字符串反转string[:: 1] Slice notation "[a : b : c]" means "count in increments of c starting at a inclusive, up to b exclusive". If c 阅读全文
posted @ 2017-08-20 09:20 Neo007 阅读(2738) 评论(0) 推荐(0)
摘要: 这里字符串前面加了r,是raw的意思,它表示对字符串不进行转义。为什么要加这个?你可以试试print "\bhi"和r"\bhi"的区别。 可以看到,不加r的话,\b就没有了。因为python的字符串碰到“\”就会转义它后面的字符。如果你想在字符串里打“\”,则必须要打“\\”。 这样的话,我们的正 阅读全文
posted @ 2017-08-16 16:17 Neo007 阅读(455) 评论(0) 推荐(0)
摘要: 它的基本格式是(key是键,value是值): Example 阅读全文
posted @ 2017-08-16 15:23 Neo007 阅读(414) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页