Python内置函数
help()函数:查看对象的帮助信息
print()函数:用于打印输出
input()函数:根据输入内容返回所输入的字符串类型
format()函数:格式化显示
len()函数:返回对象的长度或项目个数
slice()函数:通过指定的切片位置和间隔构造一个切片对象
help()函数–查看对象的帮助信息
help()函数用于查看对象的帮助信息,help()函数的语法格式如下:
help([object])
参数说明:
 ● object: 可选参数,要查看其帮助信息的对象,如类、函数、模块、数据类型等。
 ● 返回值:返回对象的帮助信息。
示例1:help(input)
 查看函数的帮助信息

示例2:help(“keyworld”)
 查看Python中所有的关键字

>>> help("keywords")Here is a list of the Python keywords.  Enter any keyword to get more help.False               break               for                 not
None                class               from                or
True                continue            global              pass
__peg_parser__      def                 if                  raise
and                 del                 import              return
as                  elif                in                  try
assert              else                is                  while
async               except              lambda              with
await               finally             nonlocal            yield>>>示例3:help(‘os’)
 查看os模块的帮助信息
