- 博客(6)
- 收藏
- 关注
原创 python第六章习题
6-3cihuibiao = {'for' : 'xunhuan','if' : 'judge','while' : 'xunhuan','int' : 'zhengshu','char' : 'letter'}for key,value in cihuibiao.items(): print(key + " : " + value)输出结果:int : zhengshuwhile : xun...
2018-03-25 20:29:55 364
原创 python第五章习题
5-1animal = 'tiger'print("Is animal == tiger? I predict Ture.")print(animal == "tiger")print("\nIs animal == lion? I predict False")print(animal == "lion")输出结果:Is animal == tiger? I predict Ture....
2018-03-25 19:33:52 2079
原创 python第三、四章习题
3-2names = ['kangkang','jacson','eric','xiyangyang']for name in names: print("Good morning! " + name.title() + ".")输出结果:Good morning! kangkang.Good morning! jacson.Good morning! eric.Good morning...
2018-03-18 16:53:52 274
原创 python第二章练习题
2-1string = "I am a fresh man!!!"print(string)输出结果:I am a fresh man!!!2-2temp = 2print(temp)temp = "haha"print(temp)输出结果:2haha2-3name = "Eric"print("Hello " + name + ", would you like to learn so...
2018-03-08 21:33:23 891
原创 假如我是个python高手
其实关于python的应用还不是很熟识,对自己要做什么还没有一个明确的目标,所以我只能在网上了解python的应用范畴:系统编程:提供API(Application Programming Interface应用程序编程接口),能方便进行系统维护和管理,Linux下标志性语言之一,是很多系统管理员理想的编程工具。图形处理:有PIL、Tkinter等图形库支持,能方便进行图形处理。数学处理:NumP...
2018-03-06 21:59:49 225
原创 python主页观后感
作为一名刚刚学习python的新手(学过c,c++),在打python主页(https://www.python.org)后,最大的感触就是其清晰划一的风格,一进主页就是下面一段代码:# Python 3: Simple arithmetic>>> 1 / 20.5>>> 2 ** 38>>> 17 / 3 # classic divisio...
2018-03-06 21:38:51 396
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人