python基础知识(六)函数----(七)

(六)函数----(七)

目录

(六)函数----(七)

内置函数

a.按块分类:

b.按字母排序:


内置函数

内置函数一共有68个

参考文件:https://docs.python.org/3/library/functions.html#object

a.按块分类:

按块分类:作用域相关global()locals()  2
字符串类型的代码执行eval()exec()compile() 3
输入输出input()print()  2
内存相关hash()id()  2
文件操作open()   1
模块相关__import__()   1
帮助help()   1
调用相关callable()   1
查看内置属性dir()   1
数据类型bool()int()float()complex()4
进制转换bin()oct()hex() 3
数学运算abs()divmod()min()max() 
 sum()round()pow() 7
列表和元组list()tuple()  2
字符串str()bytes()format()bytearry() 
 memonryview()ord()chr()

ascii()

 
 repr()   9
序列reversed()slice()  2
字典dict()   1
集合set()frozenset()  2
数据集合len()sorted()enumerate()all() 
 map()any()zip()filter()8
可迭代的range()   1
迭代器next()iter()  2

b.按字母排序:

        内置函数  
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()
byteearray()filter()issubclass()pow()super()
bytes()float()iter()print()tuple()
callable()format()len()property()type()
chr()frozenset()list()range()vars()
classmethod()getattr()locals()repr()zip()
complie()globals()map()reversed()__import__()
complex()hasattra()max()round() 
delattr()hash()memoryview()set() 

 

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值