会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
第八片叶子
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2014年4月22日
sirius的学习笔记(2)
摘要: 原文来自网络,侵权删if both values of in a or expression are true ,Python will select the first one, and the second one in the and expression. for example:resul...
阅读全文
posted @ 2014-04-22 20:50 第八片叶子
阅读(207)
评论(0)
推荐(0)
2014年4月21日
sirius的python学习笔记(1)
摘要: 1、可以通过try...except语句来简单的判断字符串是否为整数值,如例程x = raw_input('>')try: print int(x)except ValueError: return None2、append函数也可以用来添加tuple,如下x = ('1','2')y= []y.a...
阅读全文
posted @ 2014-04-21 21:37 第八片叶子
阅读(232)
评论(0)
推荐(0)
上一页
1
2
3
公告