python3基础盲点

数值类型

Python支持四种不同的数值类型,包括int(整数)long(长整数)float(浮点数)complex (复数)

python3对整数的大小不做限制

算数运算符

优先级:

逻辑运算符

优先级:

not > and > or

center()在字符串两边填充字符,让字符串居中

原文地址:https://www.cnblogs.com/gangler/p/9347242.html