摘要:
and or not: 逻辑运算:在没有()的情况下not 优先级高于 and,and优先级高于or,即优先级关系为( )>not>and>or,同一优先级从左往右计算。 优先级:() > not > and > or x or y x为非0,则返回x; x and y ,x为真,则返回y; x o 阅读全文
posted @ 2018-06-11 15:31
liu-yong
阅读(127)
评论(0)
推荐(0)
摘要:
Python2和Python3的区别: Python2 源码不标准,比较混乱,重复代码太多。 Python3 统一标准,去除重复代码 Python2 的默认编码方式是ASCII码 解决方式 在首行加上 #-*- encoding:utf-8 -*- Python3默认编码方式是utf-8 pytho 阅读全文
posted @ 2018-06-11 11:09
liu-yong
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号