數值類型 Python支持四種不同的數值類型,包括int(整數)long(長整數)float(浮點數)complex (複數) python3對整數的大小不做限制 算數運算符 優先順序: 邏輯運算符 優先順序: not > and > or center()在字元串兩邊填充字元,讓字元串居中 ...
數值類型
Python支持四種不同的數值類型,包括int(整數)long(長整數)float(浮點數)complex (複數)
python3對整數的大小不做限制
算數運算符
優先順序:
邏輯運算符
優先順序:
not > and > or
center()在字元串兩邊填充字元,讓字元串居中