Py学习  »  Python

在每个python数学模块函数中找到/的含义是什么?[复制品]

Carl_M • 5 年前 • 1752 次点击  

什么是 / python 3.4中的平均值 help 输出为 range 在右括号之前?

>>> help(range)
Help on class range in module builtins:

class range(object)
 |  range(stop) -> range object
 |  range(start, stop[, step]) -> range object
 |  
 |  Return a virtual sequence of numbers from start to stop by step.
 |  
 |  Methods defined here:
 |  
 |  __contains__(self, key, /)
 |      Return key in self.
 |  
 |  __eq__(self, value, /)
 |      Return self==value.

                                        ...
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/43843
 
1752 次点击  
文章 [ 2 ]  |  最新文章 5 年前