haonanxu的博客 hello = '刘总你好啊' print(hello[5]) 由于并不存在一个下标索引为5 的元素, 就会报下面这样的错误 IndexError: string index out of range 而且Python还支持 用负数表示字符串的索引 , 最后一个字符的索引是 ...
岳来的博客给定一个 int list a,满足 a[i + 1]>=a[i],给定 int key找出 list a 中第一个大于等于 key 的元素的 index,无满足要求的元素则返回-1 103.正则表达式 104.描述 Python GIL 的概念,以及它对 Python 多线程的影响? 105...