摘要: 参考 https://docs.python.org/3/library/functions.html?highlight=int int If x is not a number or if base is given, then x must be a string, bytes, or byt 阅读全文
posted @ 2018-04-11 16:47 Rocin 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 参考 https://stackoverflow.com/questions/9189810/css display inline vs inline block An inline block element is placed as an inline element (on the same 阅读全文
posted @ 2018-04-11 10:26 Rocin 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一等函数 一等函数即将函数看作一等对象。一等对象满足一下条件: 1. 在运行时创建 2. 能赋值给变量或数据结构中的元素 3. 能作为参数传给函数 4. 能作为函数的返回结果 1. 一等函数 例子1. 证明function是对象,调用__doc__属性,用type()检查它的类型 python de 阅读全文
posted @ 2018-04-11 08:58 Rocin 阅读(178) 评论(0) 推荐(0) 编辑