freeCodeCamp/curriculum/challenges/english/07-scientific-computing-wit.../python-for-everybody/strings-in-python.english.md

471 B

id title challengeType isHidden isRequired videoId
5e7b9f070b6c005b0e76f060 Strings in Python 11 true true LYZj207fKpQ

Description

Tests

question:
  text: 'What will the following code print?:
<pre>for n in "banana":<br>    print(n)</pre>'
  answers:
    - 'n<br>n'
    - '0<br>1'
    - '0<br>1<br>2<br>3<br>4<br>5'
    - 'b<br>a<br>n<br>a<br>n<br>a'
  solution: 4