python
.01
据说写博客有助于学习
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python答题0409
What do these do? 36. for x in range( 0, 4 ): print( x ) if x == 1: continue print( 'Last line' ) 0 Last line 1 Last line 2 Last line 37. message1 = 'Global Varia...原创 2020-04-09 14:08:55 · 339 阅读 · 0 评论 -
python答题0325
What do these do? 20. [ 18, 19, 20, 21, 22 ] [ -2 ]//21 21. [ 18, 19, 20, 21, 22 ] [ 2:4 ]//[20,21] 22. [ 18, 19, 20, 21, 22 ] [ -2:-5:-1 ]//[21, 20, 19] 23. input( 'Please enter your name: ' ) //P...原创 2020-03-25 14:08:30 · 293 阅读 · 0 评论 -
python lab3 week3-1 遍历list
遍历一维二维list #生成向量 def make_vector(len,num): l = [] for i in range(len): l.append(num) return l #生成矩阵 def make_matrix(row,col,num): c = make_vector(col,num) l = [] for i...原创 2020-03-16 11:36:13 · 229 阅读 · 0 评论 -
python lab week2 lab2
要求: person是三个字典的list。然后写两个函数符合函数名和输入输出要求。 知识点: dict,list, for in, print, function. 遍历list中的dict person=[{},{},{}] sports(people) #yuri paly 2 sports plays_sport(people,'tennis') #yuri #tiffany people...原创 2020-03-15 15:50:34 · 182 阅读 · 0 评论 -
python答题0311
What is CJKV? CJKV Information Processing Ken Lunde O'Reilly 2009 912 pages Excellent reference for CJKV issues such as Unicode GB2312, GBK, GB18030 etc. Who is Guido van Rossum? Guido van Rossu...原创 2020-03-11 13:46:00 · 666 阅读 · 0 评论
分享