首页 > 编程语言 > 详细

python - - 函数 - - 内置函数和匿名函数

时间:2018-09-19 19:07:49      阅读:175      评论:0      收藏:0      [点我收藏+]

目录

  • 内置函数
  • 匿名函数
  • 本章小结

1,内置函数

  • python里的内置函数。截止到python版本3.6.2,现在python一共为我们提供了68个内置函数。
Built-inFunctions
abs() dict() help() min() setattr()
all() dir() hex() next() slice()
any() divmod() id() object() sorted()
ascii() enumerate() input() oct() staticmethod()
bin() eval() int() open() str()
bool() exec() isinstance() ord() sum()
bytearray() filter() issubclass() pow() super()
bytes() float() iter() print() tuple()
callable() format() len() property() type()
chr() frozenset() list() range() vars()
classmethod() getattr() locals() repr() zip()
compile() globals() map() reversed() __import__()
complex() hasattr() max() round()
delattr() hash() memoryview() set()

1.1 作用域相关

python - - 函数 - - 内置函数和匿名函数

原文:https://www.cnblogs.com/xiaoqshuo/p/9676076.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!