摘要: 1. 通过help函数查看input的docstring 1 # 1. 通过内置函数help查看input函数的docstring 2 ''' 3 input(prompt='', /) 4 Read a string from standard input. The trailing newlin 阅读全文
posted @ 2023-07-03 22:58 Allen_Hao 阅读(125) 评论(0) 推荐(0)
摘要: 1. 说明 print内置函数是builtins模块的函数,用于向标准输出、文件打印数据 2. 示例 1 help(print) 2 ''' 3 Help on built-in function print in module builtins: 4 5 print(*args, sep=' ', 阅读全文
posted @ 2023-07-03 22:56 Allen_Hao 阅读(104) 评论(0) 推荐(0)