Files
freeCodeCamp/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/python-for-everybody/intermediate-strings.md

50 lines
442 B
Markdown
Raw 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
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