1.浏览python首页的收获:
浏览python首页,可以很直观的看到python的各种特性以及python的广泛应用,尤其是python庞大的库,让我认识到了python与之前学过的C++,C的不同之处,这是一个十分方便的,利于解决各种问题的语言,同时python首页还提供各种python版本的下载和python新手的入门,十分的方便。
2.成为python编程高手以后,你打算实现什么程序:
python的一大应用就是能够方便地编写爬虫程序,而在这个信息爆炸的时代能够方便地获取想要的信息是人们所需要的,所以假如我成为了python编程高手,我想实现一个能整合自己所有关注的自媒体更新内容的程序,隐藏在电脑右端,实时弹出自己所关注的内容,从而省去大把大把浪费在刷微博贴吧之类的时间上,同时还支持快速的书签功能,比如看到一本想收藏的书、电影、漫画、文章等等,以及方便的(甚至是引入人工智能的)整理分类功能。
============================================================================
3.课后习题
2.1
message = "Odyssey is the best game under the sky" print(message)
2.2
message = "Odyssey is the best game under the sky" print(message) message = "BUT Zelda is the sky" print(message)
2.3
name = "Suma1l-" print(name + " is the best player of the world")
2.4
name = "jackie chen" print(name.title()) print(name.upper()) print(name.lower())
2.5
print ('Dumas pére once said, "All for one, one for all."')
2.6
name = 'Dumas pére' message = '"All for one, one for all."' print (name + 'once said, ' + message)
2.7
name = '\tDumas pere\n' print(name) print(name.lstrip()) print(name.rstrip()) print(name.strip())