We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://magic.iswbm.com/c01/c01_24.html
The text was updated successfully, but these errors were encountered:
類似於
>>> alist = [0, 1, 2, 3, 4] >>> alist[:100] [0, 1, 2, 3, 4]
Sorry, something went wrong.
在切片里 list[a:b] 如果a或者b大于列表长度 则默认改成列表长度 如果a>b 就让b会把b改成跟a相等 印象中是这样
No branches or pull requests
1.24 时有时无的切片异常 — Python黑魔法手册 1.0.0 documentation
https://magic.iswbm.com/c01/c01_24.html
The text was updated successfully, but these errors were encountered: