您的位置首页生活百科

为什么 Python 里面的 range 不包含上界?

为什么 Python 里面的 range 不包含上界?

的有关信息介绍如下:

为什么 Python 里面的 range 不包含上界?

Why are standard iterator ranges [begin, end) instead of [begin, end]?