hello head

该文被密码保护。 阅读全文
posted @ 2017-08-24 17:03 gardonkoo 阅读(37) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-08-16 23:57 gardonkoo 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1、try xx: except xx[, yy]: else:xx 2、 阅读全文
posted @ 2017-06-08 19:46 gardonkoo 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1、input/ raw_input/print 2、file对象 fopen(filename, [mode, buffering]),返回一个file对象 mode有以下取值:r,rb,r+,rb+, w, wb, w+, wb+, a, ab, a+, ab+ 3、 file.read()、f 阅读全文
posted @ 2017-06-08 16:24 gardonkoo 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1、使用def定义 2、全局变量、局部变量 在局部作用域内使用全局变量,需要加上global才生效 3、匿名函数,lambda表达式,一个简单的表达式。 4、不定长参数函数 def myfunc([xx], *yy) 5、关键字参数与参数位置不相关 1、模块是一个python文件,类似于c++中的头 阅读全文
posted @ 2017-06-08 09:09 gardonkoo 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1、选择语句(if) ###e.g.1 if xx : statement1 else : statement2 ###e.g.2 if xx : statement1 elif yy: statement2 ...... else : statement3 ###e.g.3 if xx : sta 阅读全文
posted @ 2017-06-06 17:12 gardonkoo 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1、基本运算符 + - * / % // #整除 ** #幂运算 2、逻辑运算 and、or、not 3、位运算 &、 |、 ~、^、 <<、 >> 4、赋值运算符 = +=、 -+、*=、/=、%= //=、**= 以及位运算符与=的结合体 5、三元符 xx ? A : B 问号前面表示一串逻辑运 阅读全文
posted @ 2017-06-06 16:56 gardonkoo 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1、字符串(string) 用单引号、双引号、多行段落符号"""包起来的一串字符。 str = 'Ilovepython!' str[1:5] #取值为love,包含下限,不含上限 str[2:] #略 + #表示字符串连接 str*2 #表示字符串重复两次 2、列表(list) 类似数组,用[]包 阅读全文
posted @ 2017-06-06 16:33 gardonkoo 阅读(190) 评论(0) 推荐(0) 编辑
摘要: POJ题目分类、编程爱好者的乐园 阅读全文
posted @ 2014-10-11 17:25 gardonkoo 阅读(137) 评论(0) 推荐(0) 编辑
摘要: C++、栈、队列、异常处理、重载、模板类 阅读全文
posted @ 2014-10-11 15:37 gardonkoo 阅读(22) 评论(0) 推荐(0) 编辑

hello foot