摘要: 阅读全文
posted @ 2018-04-10 17:36 dongyanyan 阅读(108) 评论(0) 推荐(0) 编辑
摘要: python逻辑判断 () not and or 优先级关系:()>not>and>or 运算符示意 not –表示取反运算。 and –表示取与运算。 or –表示取或运算。 or 是逻辑或,其值为:a ,b至少一个为True,则a or b为Trueand 是逻辑与,其值为:a,b 只要有一个为 阅读全文
posted @ 2018-04-10 16:57 dongyanyan 阅读(8463) 评论(0) 推荐(0) 编辑
摘要: li = [{'username':'alex','password':'123'}, {'username':'wusir','password':'23'}, {'username':'taibai','password':'34'}, ]j = 0while j < 3 : username 阅读全文
posted @ 2018-04-10 16:30 dongyanyan 阅读(417) 评论(0) 推荐(0) 编辑