1.Python内置的@property
装饰器就是负责把一个方法变成属性调用的
2.python问题unindent does not match any outer indentation level
(1)代码前后缩进量不一致
(2)代码前后缩进符号不一致
(3)tab与space混用
3.list有顺序,通过下标取值;字典没有顺序,只能通过key值取
4.get_windows_siza() ---- print {'width':1200,'height':300}
5.函数调用,一定要用 .self
6.andrange(1,10)
就是1-9之间的
就是1-9之间的
randint(1,.10)
就是1-10之间的
就是1-10之间的