Skip to content

Commit

Permalink
change something to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
24012401 committed Sep 13, 2020
1 parent fabe696 commit 9f8972c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 字符串和正则表达式/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

# 返回参数在列表中第一次出现的位置
print(str_0.index('cde')) #1
# 指定查找范围
# 指定查找范围,返回参数在列表中第一次出现的位置
print(str_0.index('cde', 0, 5)) #1

# 将整个列表翻转(无参数)
Expand Down

0 comments on commit 9f8972c

Please sign in to comment.