Files

54 lines
510 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5e7b9f070b6c005b0e76f061
title: 中間字符串
challengeType: 11
videoId: KgT_fYLXnyk
bilibiliIds:
aid: 291983121
bvid: BV1Zf4y157yG
cid: 376394116
dashedName: intermediate-strings
---
# --description--
更多資料:
[練習](https://www.youtube.com/watch?v=1bSqHot-KwE)
# --question--
## --text--
下面的代碼中 i 的值是什麼?
```python
word = "bananana"
i = word.find("na")
```
## --answers--
nanana
---
2
---
3
---
True
---
na
## --video-solution--
2