Skip to content

Commit 9a9341c

Browse files
authored
fix quotation, indentation
Challenge is not currently appearing on https://swcarpentry.github.io/python-novice-inflammation/05-cond/
1 parent 06de7a4 commit 9a9341c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

_episodes/05-cond.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,16 +434,15 @@ freeing us from having to manually examine every plot for features we've seen be
434434
> ## Counting Vowels
435435
>
436436
> 1. Write a loop that counts the number of vowels in a character string.
437-
>
438437
> 2. Test it on a few individual words and full sentences.
439-
>
440438
> 3. Once you are done, compare your solution to your neighbor's.
441439
> Did you make the same decisions about how to handle the letter 'y'
442440
> (which some people think is a vowel, and some do not)?
441+
>
443442
> > ## Solution
444443
> > ~~~
445444
> > vowels = 'aeiouAEIOU'
446-
> > sentence = 'Mary had a little lamb."
445+
> > sentence = 'Mary had a little lamb.'
447446
> > count = 0
448447
> > for char in sentence:
449448
> > if char in vowels:

0 commit comments

Comments
 (0)