mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-15 15:07:28 -05:00
54 lines
582 B
Markdown
54 lines
582 B
Markdown
---
|
|
id: 5e7b9f070b6c005b0e76f061
|
|
title: Cadenas intermedias
|
|
challengeType: 11
|
|
videoId: KgT_fYLXnyk
|
|
bilibiliIds:
|
|
aid: 291983121
|
|
bvid: BV1Zf4y157yG
|
|
cid: 376394116
|
|
dashedName: intermediate-strings
|
|
---
|
|
|
|
# --description--
|
|
|
|
Más recursos:
|
|
|
|
\- <a href="https://www.youtube.com/watch?v=1bSqHot-KwE" target="_blank" rel="noopener noreferrer nofollow">Ejercicio</a>
|
|
|
|
# --question--
|
|
|
|
## --text--
|
|
|
|
¿Cuál es el valor de i en el siguiente código?
|
|
|
|
```python
|
|
word = "bananana"
|
|
i = word.find("na")
|
|
```
|
|
|
|
## --answers--
|
|
|
|
nanana
|
|
|
|
---
|
|
|
|
2
|
|
|
|
---
|
|
|
|
3
|
|
|
|
---
|
|
|
|
True
|
|
|
|
---
|
|
|
|
na
|
|
|
|
## --video-solution--
|
|
|
|
2
|
|
|