Files
freeCodeCamp/curriculum/challenges/chinese/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