Files
freeCodeCamp/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/intermediate-strings.md
Muhammed Mustafa 3e3da4ec0f fix(curriculum): standardize links in curriculum (#46564)
* fix(curriculum): standradize links in curriculum

* Data analiysis links

* CIP links

* fixed links in s-expressions

* Update curriculum/challenges/english/01-responsive-web-design/basic-css/use-hex-code-for-specific-colors.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* added space before target attribute

* standarize external and .rock example links

* wrap "check out the projects" around the links

Co-authored-by: Ilenia <nethleen@gmail.com>
2022-06-26 11:13:38 -05:00

54 lines
579 B
Markdown

---
id: 5e7b9f070b6c005b0e76f061
title: Intermediate Strings
challengeType: 11
videoId: KgT_fYLXnyk
bilibiliIds:
aid: 291983121
bvid: BV1Zf4y157yG
cid: 376394116
dashedName: intermediate-strings
---
# --description--
More resources:
\- <a href="https://www.youtube.com/watch?v=1bSqHot-KwE" target="_blank" rel="noopener noreferrer nofollow">Exercise</a>
# --question--
## --text--
What is the value of i in the following code?
```python
word = "bananana"
i = word.find("na")
```
## --answers--
nanana
---
2
---
3
---
True
---
na
## --video-solution--
2